Basic Commands Reversed 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 arguments
A
xargs
14
Q
Find files
A
find
15
Q
Find things inside files
A
grep
16
Q
Read a manual page
A
man
17
Q
Find which manual page is relevant
A
apropos
18
Q
Look at your environment
A
env
19
Q
Print some arguments
A
echo
20
Q
Export/set a new environment variable
A
export
21
Q
Exit the shell
A
exit
22
Q
DANGER! Become super user root DANGER!
A
sudo
23
Q
Change permission modifiers
A
chmod
24
Q
Change ownership
A
chown