Command Lines Flashcards
1
Q
print working directory
A
pwd
2
Q
my computer’s network name
A
hostname
3
Q
Make directory
A
mkdir
4
Q
change directory
A
cd
5
Q
list directory
A
ls
6
Q
remove directory
A
rmdir
7
Q
push directory
A
pushd
8
Q
pop directory
A
popd
9
Q
copy a file or directory
A
cp
10
Q
move a file or directory
A
mv
11
Q
page through a file
A
less
12
Q
print the whole file
A
cat
13
Q
execute argument
A
xargs
14
Q
find files
A
find
15
Q
find things inside files
A
grep