Emojiterm: Difference between revisions
No edit summary ย |
|||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Emoji4.JPG]] | |||
Here you'll be given a quick Terminal tutorial outlining some introduction commands and inputs to give you a better grasp on the command line. | Here you'll be given a quick Terminal tutorial outlining some introduction commands and inputs to give you a better grasp on the command line. | ||
Line 5: | Line 7: | ||
The traditional Unix commands have been translated into emoji in order to call to question the arbitrary English based command naming conventions, being replaced with the pictographic language of emoji. | The traditional Unix commands have been translated into emoji in order to call to question the arbitrary English based command naming conventions, being replaced with the pictographic language of emoji. | ||
You will need to download a bash [https://github.com//hackersanddesigners script] and execute it to make the emoji commands available.ย | Each $ is a new line to try in the terminal.ย '''DO NOT COPY THE $.''' | ||
ย | |||
= NOTICE = | |||
ย | |||
You will need to download a bash [https://github.com//hackersanddesigners script] and execute it to make the emoji commands available.ย Here is how to do this... | |||
ย $ curl -O https://gist.githubusercontent.com/bgraves/20af9279100fc75599eb1db094d90e69/raw/bb4c8aafb3980a7b16e44b4d6b1d8b809c26fe0b/emoji.sh | |||
ย $ source emoji.sh | |||
== Who am i == | == Who am i ๐ == | ||
On Unix based systems like Linux or Mac OS, you are a user ๐.ย To find out who you are you can always ask! | On Unix based systems like Linux or Mac OS, you are a user ๐.ย To find out who you are you can always ask! | ||
Line 15: | Line 22: | ||
ย ย ย $ ๐ | ย ย ย $ ๐ | ||
== Where am i? == | == Where am i? ๐ค == | ||
Directories are folders ๐.ย When you open the terminal you are in your home ๐ folder or directory.ย If you get lost you can ask! | Directories are folders ๐.ย When you open the terminal you are in your home ๐ folder or directory.ย If you get lost you can ask! | ||
Line 91: | Line 98: | ||
== Searching ๐ == | == Searching ๐ == | ||
You can search through ๐ by grepping ๐.ย So to ๐ for ๐ฏ on | You can search through ๐ by grepping ๐.ย So to ๐ for ๐ฏ on ๐. | ||
ย ย $ ๐ ๐ฏ | ย ย $ ๐ ๐ฏ ๐ | ||
== Pipes| == | == Pipes | == | ||
You can send output from one command into another with a pipe |.ย What does the following do? | You can send output from one command into another with a pipe |.ย What does the following do? | ||
Line 104: | Line 111: | ||
ย ย $ ๐ก http://www.baidu.com/ | ย ย $ ๐ก http://www.baidu.com/ | ||
== Cut/Replace โ๏ธ == | |||
ย $ โ๏ธ -i -e 's/๐ฏ/๐ซ/g' ๐ | |||
ย $ ๐บ ๐ | |||
Put some stuff together... | |||
ย $ ๐กย -o ๐ http://www.baidu.com/ | |||
ย $ โ๏ธ -e 's/</๐ฏ/g' ๐ > ๐ฑ | |||
ย $ ๐บ ๐ฑ | |||
ย $ ๐บ ๐ฑ | โ๏ธ -e 's/>/๐ฎ/g' > ๐ป | |||
ย $ ๐บ ๐ป | |||
Repeat! | |||
ย $ โ๏ธ -e 's/a/๐ฅ/g' ๐ป > ๐ฑ | |||
ย $ ๐บ ๐ฑ | |||
ย $ ๐บ ๐ฑ | โ๏ธ -e 's/1/๐คฆโ/g' > ๐ป | |||
ย $ ๐บ ๐ป | |||
ย | |||
= Now create your own commands, and we'll try to guess what they do! = | |||
cat ~/๐/๐ย >> ๐ | |||
[[Category:Tools]] |
Latest revision as of 19:46, 5 January 2020
Here you'll be given a quick Terminal tutorial outlining some introduction commands and inputs to give you a better grasp on the command line.
Following the instructions below in order will give you a step-by-step instruction that should get you up to speed with the basics of using the Terminal.
The traditional Unix commands have been translated into emoji in order to call to question the arbitrary English based command naming conventions, being replaced with the pictographic language of emoji.
Each $ is a new line to try in the terminal. DO NOT COPY THE $.
NOTICE
You will need to download a bash script and execute it to make the emoji commands available. Here is how to do this...
$ curl -O https://gist.githubusercontent.com/bgraves/20af9279100fc75599eb1db094d90e69/raw/bb4c8aafb3980a7b16e44b4d6b1d8b809c26fe0b/emoji.sh $ source emoji.sh
Who am i ๐
On Unix based systems like Linux or Mac OS, you are a user ๐. To find out who you are you can always ask!
$ ๐
Where am i? ๐ค
Directories are folders ๐. When you open the terminal you are in your home ๐ folder or directory. If you get lost you can ask!
$ ๐ค
What is in ๐?
You can see the contents of a ๐ by listing them.
$ ๐
Think of ๐ as a tree ๐ฒ. You can climb up and down the ๐ฒ.
To go in a ๐ up the tree.
$ ๐ Documents
To go down the tree.
$ ๐
Making a new ๐
$ โจ๐ ๐
Putting some stuff together ๐ค
$ ๐ ๐ $ ๐ค $ ๐ $ ๐ค
Creating files ๐
Let's create ๐ in ๐ ๐.
$ ๐ ๐
You can create an empty file by touching ๐ it and naming it.
$ ๐ ๐
Was the ๐ ๐ created? List the contents of ๐.
$ ๐
Let's add some ๐ฏ to ๐. You can do this by simply echoing ๐ฃ ๐ฏ, and directing it into ๐.
$ ๐ฃ ๐ฏ > ๐
To see if ๐ now has ๐ฏ, you have to ask the cat ๐บ.
$ ๐บ ๐
Let's add more ๐ฏ to ๐, and then count ๐ฏ them! The >> means to add/append to ๐.
$ ๐ฃ ๐ฏ >> ๐ $ ๐ฃ ๐ฏ >> ๐ $ ๐ฃ ๐ฏ >> ๐ $ ๐ฏ ๐
The ๐ฏ show number of ๐ฏ, number of lines and number of bytes.
Deleting โ
Let's make a second earth, see if it's created and then delete it.
$ ๐ ๐ $ ๐ $ โ ๐
Searching ๐
You can search through ๐ by grepping ๐. So to ๐ for ๐ฏ on ๐.
$ ๐ ๐ฏ ๐
Pipes |
You can send output from one command into another with a pipe |. What does the following do?
$ ๐บ ๐ | ๐ฏ
The Internet w/ curl ๐ก
$ ๐ก http://www.baidu.com/
Cut/Replace โ๏ธ
$ โ๏ธ -i -e 's/๐ฏ/๐ซ/g' ๐ $ ๐บ ๐
Put some stuff together...
$ ๐ก -o ๐ http://www.baidu.com/ $ โ๏ธ -e 's/</๐ฏ/g' ๐ > ๐ฑ $ ๐บ ๐ฑ $ ๐บ ๐ฑ | โ๏ธ -e 's/>/๐ฎ/g' > ๐ป $ ๐บ ๐ป
Repeat!
$ โ๏ธ -e 's/a/๐ฅ/g' ๐ป > ๐ฑ $ ๐บ ๐ฑ $ ๐บ ๐ฑ | โ๏ธ -e 's/1/๐คฆโ/g' > ๐ป $ ๐บ ๐ป
Now create your own commands, and we'll try to guess what they do!
cat ~/๐/๐ >> ๐