command line Flashcards
0
Q
hostname
A
my computers network name
1
Q
pwd
A
print working directory
2
Q
mkdir
A
make directory
3
Q
cd
A
change directory
4
Q
ls
A
list directory
5
Q
rmdir
A
remove directory
6
Q
pushd
A
push directory
7
Q
popd
A
pop directory
8
Q
cp
A
copy a file or directory
9
Q
mv
A
move a file or directory
10
Q
less
A
page through a file
11
Q
cat
A
print the whole file
12
Q
xargs
A
execute arguments
13
Q
find
A
find files
find STARTDIR -name WILDCARD - print
example: find . -name “*.txt” - print | less
less is to show files on the same screen on the terminal
14
Q
grep
A
find things inside files