Tunlaya-Sanphokha.github.io

Basic Terminal Commands in Linux Ubuntu

I have learned and practiced using the command line from tutorialspoint

ls is command for showing list of item in directory.

1.ls

pwd command is an abbreviation of “print working directory”

2.pwd

cd command is an abbreviation for “change directory”.

3.cd

If you use cd command and pwd command, it will show the current working directory is the directory where the user is working.

4.cdAndpwd

cd ~/ or cd means “change directory to admin directory”

5.cd

cd / means “change directory to root directory”

6.cd

cd .. means “back to outside directory”

7.cd..

whoami is command for show your current username.

8.whoami

ls > Text.txt is command for making file(You can add your path like something)

9.testT

Home About Me