Four Linux commands we should all use more often

Looking For Files:

‘Which is’ allows us to find the path of a desired file. For example  if I wanted to know the file path for say the bin directory I could use ‘which is’ to do just that.

which is fileName 

Check Your History:

As it sounds ‘history’ does just that and displays the history of commands that the current user has been using. If you’re just looking for a command that you did a few minutes ago and don’t want to cycle through then history is what you’ve been looking for.


Quickly Check Your User:

Do you want a really quick way of checking who you’re logged in as? If your answer is yes then this is a great command for you. It simply does what it says and echo’s the current users name onto the terminal.


Read Up On Commands:

‘man’ stands for manual and allows you to get that little bit of a bigger grasp of insight onto what the commands you are using actually do. Just place the command on the front of the command you want to know more on and if it has a manual it will display on the screen.

man command

Image Source: Ubuntu
More Reading: Linux Command Book

James Stevenson

Im a Cyber Security enthusiast that loves all things to do with technology. I'm specifically interested in cyber security and ethical hacking.

You may also like...