Learning Powershell Commands
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
pwd | print working directory
🗑
|
||||
hostname | my computer's network name
🗑
|
||||
mkdir | make directory
🗑
|
||||
cd | change directory
🗑
|
||||
ls | list directory
🗑
|
||||
rmdir | remove directory
🗑
|
||||
push | push directory
🗑
|
||||
popd | pop directory
🗑
|
||||
cp | copy a file or directory
🗑
|
||||
mv | move a file or directory
🗑
|
||||
more | page through a file
🗑
|
||||
type | print the whole file
🗑
|
||||
robocopy | robust copy
🗑
|
||||
forfiles | run a command on lots of files
🗑
|
||||
dir -r | find files, dir -r -filter
🗑
|
||||
select-string | find things inside files
🗑
|
||||
help | read a manual page
🗑
|
||||
helpctr | find what man page is appropriate
🗑
|
||||
echo | prints some arguments
🗑
|
||||
set | export/set a new environment variable
🗑
|
||||
exit | exit the shell
🗑
|
||||
runas | become super user root DANGER!
🗑
|
||||
attrib | change permission modifiers
🗑
|
||||
iCACLS | change ownership
🗑
|
||||
$|$ | The | takes the output from the command on the left, and "pipes" it to the command on the right.
🗑
|
||||
$>$ | The > takes the output of the command on the left, then writes it to the file on the right.
🗑
|
||||
$>>$ | The >> takes the output of the command on the left, then appends it to the file on the right.
🗑
|
||||
* | matches anything in a wildcard like *.txt
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
Lokkemat
Popular Computers sets