Powershell - Commands Flashcards
(44 cards)
0
Q
hostname
A
my computer’s network name
1
Q
pwd
A
print working directory
2
Q
mkdir
A
make directory
3
Q
cd
A
change directory
4
Q
ls
A
list directory
5
Q
rmdir
A
remove directory
6
Q
pushd
A
push directory
7
Q
popd
A
pop directory
8
Q
cp
A
copy a file or directory
9
Q
robocopy
A
robust copy
10
Q
mv
A
move a file or directory
11
Q
more
A
page through a file
12
Q
type
A
print the whole file
13
Q
forfiles
A
run a command on lots of files
14
Q
dir -r
A
find files
15
Q
select-string
A
find things inside files
16
Q
help
A
read a manual page
17
Q
helpctr
A
Find what man page is appropriate
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 super user root DANGER!
22
Q
print working directory
A
pwd
23
Q
my computer’s network name
A
hostname
24
make directory
mkdir
25
change directory
cd
26
list directory
ls
27
remove directory
rmdir
28
push directory
pushd
29
pop directory
popd
30
copy a file or directory
cp
31
robust copy
robocopy
32
move a file or directory
mv
33
page through a file
more
34
print the whole file
type
35
run a command on lots of files
forfiles
36
find files
dir -r
37
find things inside files
select-string
38
read a manual page
help
39
Find what man page is appropriate
helpctr
40
print some arguments
echo
41
export/set a new environment variable
set
42
exit the shell
exit
43
DANGER! become super user root DANGER!
runas