sirapopModel.github.io

Ubuntu terminal command practice

I learn and practice with this.

pwd command is an abbreviation of ‘print working directory’

Cute_boy

1.1)

cd command is an abbreviation for ‘change directory’.

Cute_boy

2.1)
The current working directory is the directory in which the user is currently working in.

Cute_boy

2.2) cd ~/ or cd means 'change directory to admin directory'

Cute_boy

2.3) cd / means 'change directory to root directory '

Cute_boy

2.3) cd .. means 'back to outside directory ' and cd ../.. mean 'back 2 time'

whoami is command for show your current username.

Cute_boy

3.1)

ls is command for showing list of item in directory.

Cute_boy

4.1)

Cute_boy

4.2)" ls > Text.txt " mean making file (you can add path like something..../ Text.txt )