Table of contents
echo
The first command you need to know after installing Linux is echo
.
The echo
command is used to print text to the terminal.
echo "Hello World"
I know you might have questions about this command, like why we need to print things to the terminal. I will answer all your questions as we go along with the command.
pwd and cd
The next couple of commands are pwd
and cd
.
pwd
- Print Working Directorycd
- Change Directory
You can print the current directory using the pwd
command like this.
See? Now I'm in the directory /home/heathcliff.
ls and attributes
The ls
command stands for "list" and it prints out the items inside our current directory.