Powershell (Windows) Flashcards
pwd
print working directory
hostname
my computer’s network name
mkdir
make directory
cd
change directory
ls
list directory
rmdir
remove directory
pushd
push directory
(add directory to the stack)
don’t worry about stacks at the moment, come back to later
popd
pop directory
(remove from stack)
don’t worry about stacks at the moment, come back to later
cp
copy files or directory
robocopy
robust copy
mv
move file or directory
more
page through a file
type
print whole file
forfiles
run command on multiple files
dir -r
find files
select-string
find things inside files
help
read a manual page
helpctr
find what manual page is appropriate
echo
print some arguments
set
export/set a new environment variable
exit
exit the shell
runas
run commands as a super user
(reverse card)
print working directory
pwd
(reverse card)
my computer’s network name
hostname
(reverse card)
make directory
mkdir
(reverse card)
change directory
cd
(reverse card)
list directory
ls
(reverse card)
remove directory
rmdir
(reverse card)
push directory
(add directory to the stack)
don’t worry about stacks at the moment, come back to later
pushd
(reverse card)
pop directory
(remove from stack)
don’t worry about stacks at the moment, come back to later
popd
(reverse card)
copy files or directory
cp
(reverse card)
robust copy
robocopy
(reverse card)
move file or directory
mv
(reverse card)
page through a file
more
(reverse card)
print whole file
type
(reverse card)
run command on multiple files
forfiles
(reverse card)
find files
dir -r
(reverse card)
find things inside files
select-string
(reverse card)
read a manual page
help
(reverse card)
find what manual page is appropriate
helpctr
(reverse card)
print some arguments
echo
(reverse card)
export/set a new environment variable
set
(reverse card)
exit the shell
exit
(reverse card)
run commands as a super user
runas