Basic Commands
More Information
You can refer to command --help or man command for more information about any command.
pwd
pwd command stands for print working directory. It displays the current directory you are in.
kc@kcserver:~$ pwd
/home/kcecho
echo command used to display a line of text/string that is passed as an argument.
kc@kcserver:~$ echo "Hello World"
Hello World
kc@kcserver:~$ echo -n "Hello World" # without trailing newline
Hello Worldkc@kcserver:~$uptime
uptime command shows how long the system has been running, along with the current time, number of users, and system load averages.
kc@kcserver:~$ uptime
14:23:58 up 7 min, 2 users, load average: 0.04, 0.03, 0.00Last updated on