The most popular Linux “distros” include:

Ubuntu (my personal favorite) Red Hat Enterprise Linux Mint Debian Fedora Arch

And the list goes on and on.

Why Learn Linux Commands?

Bash skills are popular and pay handsomely.

Linux Commands

Before we begin, just remember two things:

whoami

Note: “id -un” can be used instead of “whoami” to get the username.

man

clear

Note: You can use “Ctrl+l” as a shortcut to “clear +x” command.

pwd

ls

cd

mkdir

touch

rmdir

rm

open

mv

cp

Note: Add the ‘-r’ option to recursively copy the whole content of the directory

tail

date

WARNING: ‘>’ will replace the entire content of the file. So in order to append to a file instead of overwriting it “»” is used.

cat

less

echo

wc

sort

Note: If you want to sort numbers in a file then use “sort -n filename” instead of just sort.

uniq

diff

find

Ex. Let’s find out the files in the current directory having .txt as their file extension. Note: Don’t miss quotes around special characters like ‘ * ’.

grep (I use it quite often)

du

Note: ’ * ’ is used to represent all the files.

df

history

ps

This command lists the user-initiated processes currently running in the current session.

top

kill

Ex. If I want to kill the “blueman-manager” process with PID 36709, then I will simply execute the “kill 36709” or “kill -s TERM 36709" (if you want to specify the type of signal as well) command in the terminal.

killall

Bonus Resources to learn more about Linux

Pipelining of commands (must watch) Linux Directories in 100 sec https://overthewire.org/wargames/bandit/ (for practicing) Hackersploit Linux series (solution to above wargames and much more on Linux)

Bonus

(Youtube Channels I have been following for the past 3 years)

DistroTube (For Linux Distribution related knowledge) David Bombal & NetworkChuck (Linux, networking, hacking….) Learn Linux Tv (Must follow)

This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters. © 2022 Ashutosh Singh Patel

30  Standard Linux Commands for Beginner or Intermediate Users - 5530  Standard Linux Commands for Beginner or Intermediate Users - 6430  Standard Linux Commands for Beginner or Intermediate Users - 4130  Standard Linux Commands for Beginner or Intermediate Users - 8730  Standard Linux Commands for Beginner or Intermediate Users - 6630  Standard Linux Commands for Beginner or Intermediate Users - 230  Standard Linux Commands for Beginner or Intermediate Users - 7530  Standard Linux Commands for Beginner or Intermediate Users - 630  Standard Linux Commands for Beginner or Intermediate Users - 4330  Standard Linux Commands for Beginner or Intermediate Users - 9630  Standard Linux Commands for Beginner or Intermediate Users - 2830  Standard Linux Commands for Beginner or Intermediate Users - 4930  Standard Linux Commands for Beginner or Intermediate Users - 8130  Standard Linux Commands for Beginner or Intermediate Users - 8430  Standard Linux Commands for Beginner or Intermediate Users - 6630  Standard Linux Commands for Beginner or Intermediate Users - 7730  Standard Linux Commands for Beginner or Intermediate Users - 7030  Standard Linux Commands for Beginner or Intermediate Users - 4130  Standard Linux Commands for Beginner or Intermediate Users - 8930  Standard Linux Commands for Beginner or Intermediate Users - 9130  Standard Linux Commands for Beginner or Intermediate Users - 1530  Standard Linux Commands for Beginner or Intermediate Users - 8630  Standard Linux Commands for Beginner or Intermediate Users - 3830  Standard Linux Commands for Beginner or Intermediate Users - 5330  Standard Linux Commands for Beginner or Intermediate Users - 4730  Standard Linux Commands for Beginner or Intermediate Users - 4730  Standard Linux Commands for Beginner or Intermediate Users - 3430  Standard Linux Commands for Beginner or Intermediate Users - 9030  Standard Linux Commands for Beginner or Intermediate Users - 9230  Standard Linux Commands for Beginner or Intermediate Users - 7730  Standard Linux Commands for Beginner or Intermediate Users - 5730  Standard Linux Commands for Beginner or Intermediate Users - 8430  Standard Linux Commands for Beginner or Intermediate Users - 9830  Standard Linux Commands for Beginner or Intermediate Users - 5430  Standard Linux Commands for Beginner or Intermediate Users - 8730  Standard Linux Commands for Beginner or Intermediate Users - 1130  Standard Linux Commands for Beginner or Intermediate Users - 9230  Standard Linux Commands for Beginner or Intermediate Users - 8630  Standard Linux Commands for Beginner or Intermediate Users - 1530  Standard Linux Commands for Beginner or Intermediate Users - 5030  Standard Linux Commands for Beginner or Intermediate Users - 3030  Standard Linux Commands for Beginner or Intermediate Users - 8430  Standard Linux Commands for Beginner or Intermediate Users - 6730  Standard Linux Commands for Beginner or Intermediate Users - 130  Standard Linux Commands for Beginner or Intermediate Users - 1130  Standard Linux Commands for Beginner or Intermediate Users - 8430  Standard Linux Commands for Beginner or Intermediate Users - 1830  Standard Linux Commands for Beginner or Intermediate Users - 1830  Standard Linux Commands for Beginner or Intermediate Users - 1530  Standard Linux Commands for Beginner or Intermediate Users - 6330  Standard Linux Commands for Beginner or Intermediate Users - 1930  Standard Linux Commands for Beginner or Intermediate Users - 9230  Standard Linux Commands for Beginner or Intermediate Users - 6730  Standard Linux Commands for Beginner or Intermediate Users - 6330  Standard Linux Commands for Beginner or Intermediate Users - 2030  Standard Linux Commands for Beginner or Intermediate Users - 5430  Standard Linux Commands for Beginner or Intermediate Users - 4230  Standard Linux Commands for Beginner or Intermediate Users - 1230  Standard Linux Commands for Beginner or Intermediate Users - 8930  Standard Linux Commands for Beginner or Intermediate Users - 78