learn Python the hard way – Windows Powershell – Flashcards
Unlock all answers in this set
Unlock answersquestion
pwd
answer
print working directory
question
hostname
answer
my computer's network name
question
mkdir
answer
make directory
question
cd
answer
change directory
question
ls
answer
list directory
question
rmdir
answer
remove directory
question
pushd
answer
push directory
question
popd
answer
pop directory
question
cp
answer
copy a file or directory
question
robocopy
answer
robust copy
question
mv
answer
move a file or directory
question
more
answer
page through a file
question
type
answer
print the whole file
question
forfiles
answer
run a command on lots of files
question
dir-r
answer
find files
question
select-string
answer
find things inside files
question
help
answer
read a manual page
question
helpctr
answer
find what man page is appropriate
question
echo
answer
print some argument
question
set
answer
export/ set a new environment variable
question
exit
answer
exit the shell
question
runas
answer
DANGER!
question
attrib
answer
Displays, sets, or removes the read-only, archive, system, and hidden attributes assigned to files or directories. Used without parameters, attrib displays attributes of all files in the current directory.
question
icalcs
answer
The icacls command enables a user to view and modify the ACLs of a file. If you are familiar with earlier versions of Windows, this command is similar to the cacls command.