Command Line Flashcards

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

robocopy

A

robust copy

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

mv

A

move file or directory (Actually, rename them)

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

more

A

page through a file

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

fortfiles

A

run a command on lots of files

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

dir -r

A

find files

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

select-string

A

find things inside files

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

help

A

read a manual page

17
Q

helpctr

A

find what man page is appropiate

18
Q

echo

A

print some arguments

19
Q

set

A

export/set a new environment variable

20
Q

exit

A

exit the shell

21
Q

runas

A

DANGER! become suer user root DANGER!

22
Q

cd ~

A

returns to home

23
Q

cd ..

A

change directory (back 1 path/folder)

24
Q

cd ../..

A

change directory (back 2 path/folder)

25
Q

cd “File Name”

A

change directory (to a path whose name has spaces)