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