Introduction This is the easiest way I’ve found to replace spaces in file names with another character for example underscore. Solution At a bash prompt, use rename: find -name “* *” -type d | rename ‘s/ /_/g’ # do the
Find Network Interface Card Ubuntu
Introduction If you’ve added an interface on ubuntu and wondered what interfaces you have on the system, you need to use the following to find out: ls /sys/class/net This will list the interface names for all NICs on your computer.
Ubuntu Disable IPv6 on a Single Interface
Introduction Ever needed to disable IPv6 on a single interface? Solution All that’s needed is a simple line adding to the appropriate conf file sudo vim /etc/sysctl.conf Add the following line to the bottom of the file obviously substituting <interface>
Useful FIND examples
Introduction A few examples when you need to find files. I’ll update as I go. This one is for searching multiple snapshot locations for a file named like: find *snapshot-name*/known/path/to/data -iname “case_insensitive_part_of_name*” The next is to find and replace permission
No Wifi with Intel 3165 on HP ProBook Linux Mint

Introduction I wanted to install Linux on a laptop so I had originally installed Ubuntu and everything was working well. The issue came about when I re-installed with my preferred distro Linux Mint; as I prefer the cinnamon desktop vastly
Generate a CSR Using Openssl

Introduction Just a quick refresher on generating certificate signing requests. Generate the RSA key Create a RSA key for your Apache server, since every distro is different in where to place the certificates, we are just going to place it
Crontab, RSYNC & SSH Keys Linux Mint

Introduction Here’s the deal. I was performing an rsync backup of my website using an Ubuntu server but decided I’d also start backing up from my PC, Linux of course. I thought it would be a straight copy the scripts
Creating Debian Installation USB Stick

Introduction If you are currently using a GNU/Linux distro and fancy having a look at a live disk of Debian. Use the following to get it on a USB stick to test out. Required Commands $ sudo fdisk -l Disk
Remmina Unable to Connect to RDP Server
Introduction This one is not immediately obvious. Suddenly a connection that was working fine just stops and all that you get is a generic error message. Fix The fix however is simple. Just remove the following file from your home
Postfix Encrypt Email in Transit Where Possible

Introduction I noticed in Gmail recently they started warning when email messages weren’t encrypted in transit. When I say transit I mean when a message leaves your email server and sends to another mail server / edge server for another