Command Prompts Flashcards
(34 cards)
1
Q
Pwd
A
Print working directory
2
Q
hostname
A
computer’s network name
3
Q
mkdir
A
Make directory
4
Q
Cd
A
Change directory
5
Q
Ls
A
List directory
6
Q
Rmdir
A
Remove dir
7
Q
Pushd
A
Push dire
8
Q
Cp
A
Copy a file or directory
9
Q
Mv
A
Move a file
10
Q
Less
A
Page through a file
11
Q
Cat (mac) or type (windows)
A
Print the whole file
12
Q
Xargs
A
Execute arguments
13
Q
Find
A
Find files
14
Q
Grep
A
Find things inside files
15
Q
Man
A
Read a manual page
16
Q
Apropos
A
Find what man page is appropriate
17
Q
Env
A
Look at your environment
18
Q
Echo
A
Print some argument
19
Q
Export
A
Export/set a new environment variable
20
Q
Exit
A
Exit the shell
21
Q
Sudo
A
Danger! Become super root danger!
22
Q
Popd (windows)
A
Pop directory
23
Q
Robocopy (windows)
A
Robust copy
24
Q
More (windows)
A
Page through a file
25
Forfiles (windows)
Run a command on lots of files
26
Dir-r (windows)
Find files
27
Select-string (windows)
Find things inside files
28
Help (windows)
Read a manual page
29
Help (windows)
Read a manual page
30
Helpctr (windows)
Find what man page is appropriate
31
Echo (windows)
Print some arguments
32
Set (windows)
Export/set a new environment variable
33
Exit (windows)
Exit the shell
34
Runas (windows)
Danger! Become super user root danger!