command line Flashcards
1
Q
pwd
A
print working directory
2
Q
cp
A
copy
copy file and copy folder are different
add -R (recursion) for folder
3
Q
mv
A
move
4
Q
ls
A
list
5
Q
cd
A
change working directory
6
Q
grep
A
find keyword in a specified file
7
Q
echo [content] > [filename]
A
create new content to new file
8
Q
mkdir
A
make directory (make new folder)
9
Q
open
A
open file/ folder
10
Q
touch
A
create new file if file doesnt exist