Command Line Commands - Reverse Flashcards
my computer’s network name
hostname
Print working directory
pwd
make directory
mkdir
change directory
cd
takes output from command on the left, and runs command on the right on it
(pipe)
matches anything in a wildcard like *.txt
*
Takes command of the file on the left, and writes it to the file on the right.
>
Takes ouput from command on the left, and appends it to the file on the right.
>>
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
for files
find files
dir -r
finds 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 superuser root DANGER!
runas
change permission modifiers
attrib
change ownership
iCACLS