Command Lines Flashcards

1
Q

hostname

A

my computer’s network name

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

mkdir

A

make directory

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

ls

A

list 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

rmdir

A

remove directory

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

print working directory

A

pwd

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

my computer’s network name

A

hostname

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

Make directory

A

mkdir

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

change directory

A

cd

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

list directory

A

ls

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

remove directory

A

rmdir

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

pushd

A

push directory

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

push directory

A

pushd

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

popd

A

pop directory

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

pop directory

A

popd

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

cp

A

copy a file or directory

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

copy a file or directory

A

cp

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

mv

A

move a file or directory

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

move a file or directory

20
Q

less

A

page through a file

21
Q

page through a file

22
Q

cat

A

print the whole file

23
Q

print the whole file

24
Q

xargs

A

execute argument

25
execute argument
xargs
26
find
find files
27
find files
find
28
grep
find things inside files
29
find things inside files
grep
30
man
read a manual page
31
read a manual page
man
32
apropos
find what man page is appropriately
33
find what man page is appropriate
apropos
34
env
look at your environment
35
look at your environment
env
36
echo
print some arguments you can use echo command to write and overwrite data to a file using command line in terminal echo "hello you" test.txt this will overwrite any existing data in file test.txt with text hello you.
37
print some arguments you can use this command to write and overwrite data to a file using command line in terminal
echo echo "hello you" test.txt this will overwrite any existing data in file test.txt with text hello you.
38
export
export/ set a new environment variable
39
export/ set a new environment variable
export
40
exit
exit the shell
41
exit the shell
exit
42
sudo
DANGER! become super user root DANGER!
43
chown
change file owner and group
44
chmod
Change access permissions of files
45
pwd
print work directory