Command Line Basics Flashcards

(50 cards)

1
Q

pwd

A

print working directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

hostname

A

my computer’s network name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mkdir

A

make directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cd

A

change directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ls

A

list directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

rmdir

A

remove directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

pushd

A

push directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

popd

A

pop directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cp

A

copy a file or directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

mv

A

move a file or directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

less

A

page through a file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cat

A

print the whole file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

xargs

A

execute arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

find

A

find files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

grep

A

find things inside files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

man

A

read a manual page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

apropos

A

find what man page is approxiamate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

env

A

look at your environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

echo

A

print some arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

export

A

export/set a new environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

exit

A

exit the shell

22
Q

sudo

A

DANGER! become super user root DANGER!

23
Q

chmod

A

change permission modifiers

24
Q

chown

A

change ownership

25
# Reverse! print working directory
pwd
26
# Reverse! my computer's network name
hostname
27
# Reverse! make directory
mkdir
28
# Reverse! change directory
cd
29
# Reverse! list directory
ls
30
# Reverse! remove directory
rmdir
31
# Reverse! push directory
pushd
32
# Reverse! pop directory
popd
33
# Reverse! copy a file or directory
cp
34
# Reverse! move a file or directory
mv
35
# Reverse! page through a file
less
36
# Reverse! print the whole file
cat
37
# Reverse! execute arguments
xargs
38
# Reverse! find files
find
39
# Reverse! find things inside files
grep
40
# Reverse! read a manual page
man
41
# Reverse! find what man page is approxiamate
apropos
42
# Reverse! look at your environment
env
43
# Reverse! print some arguments
echo
44
# Reverse! export/set a new environment
export
45
# Reverse! exit the shell
exit
46
# Reverse! DANGER! become super user root DANGER!
sudo
47
# Reverse! change permission modifiers
chmod
48
# Reverse! change ownership
chown
49
Touch
Create new empty file
50
# Reverse! Create new empty file
Touch