Terminal introduction workshop: Difference between revisions
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
[[wc]] | [[wc]] | ||
[[grep]] | [[grep]] | ||
[[find]] | |||
[[rm]] . . . -rf [[sudo rm -rf /]] | |||
Line 39: | Line 43: | ||
Terminal pipeline.... | Terminal pipeline....to create a message that deletes itself. | ||
echo "hello" > index.html | |||
say something localhost what is port 80 | |||
echo "hello" > hello.txt; cat hello.txt; rm hello.txt | |||
sudo php -S localhost:80 |
Revision as of 10:18, 20 January 2016
We will say something interesting about Terminal here.
Put a list of commands here.
Navigating the filesystem ls - "ls" command cd
up arrows go through history tab auto-complet
- how to go to another folder
- how to to back
Creating files/etc.... touch cat echo wc grep find rm . . . -rf sudo rm -rf /
what is > what is >> what is |
Internet/network stuff
ftp
ssh
curl
Terminal pipeline....to create a message that deletes itself.
echo "hello" > index.html
say something localhost what is port 80
echo "hello" > hello.txt; cat hello.txt; rm hello.txt
sudo php -S localhost:80