Tag Archives: System administration

Get your kernel version

Need to know your kernel version? It’s simple, the following will output the version of your kernel. uname -r If you want to know full details of the kernel and system change the “-r” option for “-a”, like so: uname …

Posted in Linux

Open a root/user shell with sudo

Making your life easier should be of some interest to you. If you have full sudo rights simply run the following command in your terminal to open a root shell. sudo -s

Posted in Linux

Find files that have been modified within or more than N days

Finding files that have been modified N+ days ago or less than N days is actually a common procedure for system administrators, but not only is it common, it’s dead easy. Using the “-mtime” option you can find files based …

Posted in Linux

Changing to the previous directory

A rather easy to remember but often not used change directory parameter, changing to your previous directory and the directory before that. It’s simple, easy to remember, so why are you not using it?

Posted in Linux

Reverse-I-Search

Being a command line junkie I am always looking at ways to make my life easier and for that to happen I need to be able to do things faster. As a result I thought it worth while mentioning CTRL+R …

Posted in Linux

Sudo !!

Do you ever find yourself writing commands that can only be ran as root without being the root user or prepending the command with sudo? It’s annoying isn’t it! Well there is a way to run the command through sudo …

Posted in Linux