RSS Feed

Category Archives: Linux

Find the total amount of logged in users in Linux

Finding out how many users are logged into a box is surprisingly an easy task. You can use who to list all ttys connections like so: who srcnix console Nov 2 09:23 srcnix ttys000 Nov 5 09:42 srcnix ttys001 Nov …

Posted in Linux

SVN: View logs

While you’re at the terminal you may as well take advantage of subversions log command to view logs/history without having to open your browser.

This quick tip gives an overview of how to get the most out of svn log.

Posted in Linux

Useful command line cursor shortcuts

Find below some useful cursor shortcuts, while it may take a while to get used to using these commands, they will increase your efficiency in command line usage. Move the the beginning of the line: CTRL+A

Posted in Linux

Using arguments from the previous command

Repeating arguments used in the previous command can be rather annoying, especially if it’s a long, complicated value. However, using an explanation mark can repeat the previous arguments. Much like using double explanation marks to repeat the entire previous command.

Posted in Linux

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 the processor and memory information on a Linux box

Surprisingly, finding out your processor and memory information on a Linux box is rather easy. To find the processor information cat /proc/cpuinfo

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

How to find the version of Ubuntu

Our network mainly runs on Ubuntu servers, especially for development. When trying to fix an issue or do an update I often need to know the version of Ubuntu installed on the server. Thankfully this is an extremely easy task, …

Posted in Linux
Page 1 of 212