core linux commands Flashcards
1
Q
list files
A
ls
2
Q
print path
A
pwd ( print working directory )
3
Q
change directory
A
cd
4
Q
move back one level in directory
A
cd ..
5
Q
open foloder
A
xdg-open ..
6
Q
create file
A
touch path/filename
e.g touch test.js
7
Q
create folder
A
mkdir name
8
Q
how to create multipe directories or files
A
comand file1 file 2
space between fies that you want to create
9
Q
remove file
A
rm
e.g rm test.js
10
Q
remove folder
A
rm -rf