Emojiterm: Difference between revisions

From Hackers & Designers
No edit summary
ย 
(25 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.ย  Instructions on how to do this below.
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...


Each $ is a new line to paste in the terminal. DO NOT COPY THE $.
ย  $ 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 43: Line 50:
ย ย  $ โœจ๐Ÿ“ ๐ŸŒž
ย ย  $ โœจ๐Ÿ“ ๐ŸŒž


== Putting some stuff together ==
== Putting some stuff together ๐Ÿค” ==


ย ย  $ ๐Ÿ“ ๐ŸŒž
ย ย  $ ๐Ÿ“ ๐ŸŒž
Line 81: Line 88:
The ๐Ÿ’ฏ show number of ๐Ÿ‘ฏ, number of lines and number of bytes.
The ๐Ÿ’ฏ show number of ๐Ÿ‘ฏ, number of lines and number of bytes.


== Deleting ๐Ÿ“ƒ ==
== Deleting โŒ ==


Let's make a second earth, see if it's created and then delete it.
Let's make a second earth, see if it's created and then delete it.
Line 89: Line 96:
ย ย  $ โŒ ๐ŸŒŽ
ย ย  $ โŒ ๐ŸŒŽ


== 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 101: Line 108:
ย ย  $ ๐Ÿ˜บ ๐ŸŒ | ๐Ÿ’ฏ
ย ย  $ ๐Ÿ˜บ ๐ŸŒ | ๐Ÿ’ฏ


== Grabbing stuff from the internet w/ curl ๐Ÿ“ก ==
== The Internet w/ curl ๐Ÿ“ก ==


ย ย  $ ๐Ÿ“ก 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

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.

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.

   $ ๐Ÿ“ƒ

Navigating to a new ๐Ÿ“

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 ~/๐ŸŒž/๐ŸŒ >> ๐ŸŒ