The Stack Overflow podcast is back! Listen to an interview with our new CEO.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 1170

Questions about either the shell builtin or `/bin/echo`. This tag should not be used if your question is simply about printing to the terminal, only apply it if your question is specific to the `echo` command.

56
votes
. \b moves the cursor back one character and \r moves the cursor to the beginning of the line. Example: both echo -e 'foooo\b\b\b\b\bbar' and echo -e 'foooo\rbar' will print: baroo If you want … the characters deleted then you have to use the following workaround: echo -e 'fooooo\r \rbar' output: bar Excerpt from man echo: If -e is in effect, the following sequences are …
answered Dec 11 '11 by lesmana
12
votes
$ !! foo # command to be executed foo: command not found # result of execution In your case: $ echo ! ! $ echo !! echo echo ! # command to be executed echo … ! # result of execution $ echo !!! echo echo echo !! # command to be executed echo echo !! # result of execution Note that a command with an event designator is not inserted into history as …
answered Apr 12 '11 by lesmana