Powershell - Commands Flashcards
hostname
my computer’s network name
pwd
print working directory
mkdir
make directory
cd
change directory
ls
list directory
rmdir
remove directory
pushd
push directory
popd
pop directory
cp
copy a file or directory
robocopy
robust copy
mv
move a file or directory
more
page through a file
type
print the whole file
forfiles
run a command on lots of files
dir -r
find files
select-string
find things inside files
help
read a manual page
helpctr
Find what man page is appropriate
echo
print some arguments
set
export/set a new environment variable
exit
exit the shell
runas
DANGER! become super user root DANGER!
print working directory
pwd
my computer’s network name
hostname
make directory
mkdir
change directory
cd
list directory
ls
remove directory
rmdir
push directory
pushd
pop directory
popd
copy a file or directory
cp
robust copy
robocopy
move a file or directory
mv
page through a file
more
print the whole file
type
run a command on lots of files
forfiles
find files
dir -r
find things inside files
select-string
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