Category Archives: cli

Find out your IP in Linux

Finding out your PC’s IP in Linux is a simple matter of typing ifconfig in a Terminal shell. But what if you’re behind a router? Thanks to a simple shell script, you can display your IP in the command line by simply invoking the whatismyip command. Do this: cd /usr/bin sudo nano whatismyip In the… Read More »

Autojump directories in Linux

If you happen to access several directories daily by using the command line, you can bookmark some of the longer paths with autojump. Instead of typing cd /long/path/to/some/folder/named/work you can simply do a j work Original tip here.