Created
November 25, 2016 05:18
-
-
Save kentarosasaki/1aef28297d6d2d320d904900f9322dfd to your computer and use it in GitHub Desktop.
いつかどこかで役に立つechoについて ref: http://qiita.com/kentarosasaki/items/a4843c420f419807ea83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo [SHORT-OPTION]... [STRING]... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo You are the Laughing Man, aren’t you? | |
You are the Laughing Man, aren’t you? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -n "I am going to tell you the truth behind the Laughing Man case." | |
I am going to tell you the truth behind the Laughing Man case.$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo * | |
of.txt psychoanalyst.txt Stekel.md the.txt Wilhelm.md Words.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo *.md | |
Stekel.md Wilhelm.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo "I will leave my memories behind. I am counting on you." > CAPTIVATED | |
$ cat CAPTIVATED | |
I will leave my memories behind. I am counting on you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ i=3 | |
$ echo This is the "$i"rd time that we’ve met, yet you know who I am? Although they just call me that. | |
This is the 3rd time that we’ve met, yet you know who I am? Although they just call me that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "It’s quite audacious of you to come here. Why did you come \ahere?" | |
It’s quite audacious of you to come here. Why did you come here? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "I \bcame \bhere \bto \bbe \bsaved \bby \byou." | |
Icameheretobesavedbyyou. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "Don’t \nyou \nmean \nthe \nother \nway \naround?" | |
Don’t | |
you | |
mean | |
the | |
other | |
way | |
around? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "True. But I’m so beat up right now that \rthis is the only method I can think of." | |
this is the only method I can think of. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "How \tselfish \tof \tyou." | |
How selfish of you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "I \vcan’t \vafford \vto \vlose \vany \vmore \vtime." | |
I | |
can’t | |
afford | |
to | |
lose | |
any | |
more | |
time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo -e "Well then, \cwhat would the Net’s hero want me to do?" | |
Well then, $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment