Beginner · 8 missions
Terminal first steps — Linux terminal practice
Your very first Linux commands: print text, see who and where you are, list and read files, and get help.
Missions in this track
Bilkul zero se shuru karo — pehli command se lekar help padhne tak.
-
1
Say hello
Print the text Hello UnixDroid with
echo.Show the command
echo Hello UnixDroidechoprints its arguments. Scripts use it to show messages. -
2
Who am I?
Find out which user you are logged in as.
Show the command
whoamiKnowing your user is the first thing to check on any machine — in a pentest too.
-
3
Where am I?
Print your current directory (folder).
Show the command
pwdpwdis the "you are here" sign. Your home folder is/home/student, also written~. -
4
Look around
List the files and folders in your home directory.
Show the command
lsBlue names are folders, green names are programs you can run.
-
5
Read a file
Show the contents of
welcome.txt.Show the command
cat welcome.txtcatprints a whole file. For long files uselessorhead. -
6
Get help
Open the manual page of the
lscommand.Show the command
man lsmanis the built-in manual. Also tryexplain ls -lahere — it breaks a command into parts. -
7
Your history
Show the commands you have typed so far.
Show the command
historyPress ↑ to bring back the last command and Tab to auto-complete names — the two biggest time savers.
-
8
Clean screen
Clear the terminal screen.
Show the command
clearCtrl+L does the same. Done — you know the basics!