Appendix A Flashcards
pwd
print working directory
if you get lost
pwd to figure out where you are then cd ~
make a directory
mkdir
change directory one forward
cd _
go back one directory
cd ..
go back two or more directories
cd ../../
list directory
ls
remove directory
rmdir
make path
mkdir -path name/of/path
change to specific directory; push directory
pushd
go back to the directory you were in before using pushd, or pop directory
popd
copy a file or directory
cp
move a file or directory
mv
page through a file
more
my computer’s network name
hostname
robust copy
robocopy
type
print the whole file
run a command on lots of files
forfiles
find files
dir -r
select-string
find things inside files
read a manual page
help
find what man page is appropriate
helpctr
print some arguments
echo
export/set a new environment variable
set
exit the shell
exit
DANGER! become super user root DANGER!
runas
print the whole file
type
find things inside files
select-string
recurseive
-r
print entire file in editor
cat “file name”
shows all attributes of a file
attrib
Displays or modifies discretionary access control lists (DACLs) on specified files, and applies stored DACLs to files in specified directories.
icacls