Five Linux Commands to Learn Today

Posted on Aug. 13, 2020 by Ted Martin

Linux is inescapable in tech. It's in our phones, computers, servers... even in SPACE. Linux is literally everywhere. It can be overwhelming to get started so I thought I would suggest five simple commands to get your feet wet:

1. ls

That is right, just type "ls" in a directory to list the content. There are more flags to learn but "ls" is a great place to start.

2. pwd

Where am I!!! If you don't know where you are in the file system, just type "pwd".

3. cd

Change is inevitable. When you want to change directories, type "cd" which is short for, you guessed it, "change directory". "cd .." will take you back a directory.

4. cat

"cat" is short for "concatination" but it is normally used to ouput the content of a file. Pick a file, any file, and just type "cat filename.txt" and you will see the content.

5. less

Sometimes the file whose content you want to see is longer than you can see in the height of your monitor and you want minimal commands to navigate around the file content to read it. "less" is your friend.

The most important thing in learning anything is to start! So start with Linux today, you won't regret it.

Share post


There are no comments yet.

Add a new comment