Computer basics

Commands in Terminal

seoca 2019. 7. 31. 09:01

 

 

Terminal Command

 

ls - list files

pwd - path of working directory

\q - quit

exit - quit

cp - copy

mkdir - make directory

mv 'file' 'location' - move file to the location

open - open file

cat - read/write file

nano - text editor

rm - remove

vi - text editor

 

 

 

Vi command

 

:q - quit

i - insert

:w - write

dw - delete word

dd - delete line