About 157,000 results
Open links in new tab
  1. How do I print the result of a command with 'echo'?

    How do I print the result of a command with 'echo'? Asked 10 years, 8 months ago Modified 6 years, 8 months ago Viewed 136k times

  2. How to echo shell commands as they are executed - Stack Overflow

    May 18, 2010 · To allow for compound commands to be echoed, I use eval plus Soth's exe function to echo and run the command. This is useful for piped commands that would …

  3. How can I insert a new line in a Linux shell script? [duplicate]

    I came here hoping to find that answer. e.g. elaborate your final answer to make it multiple lines with one echo command, what if i wanted to cut it off right at Snapshot created on my bash file …

  4. bash - echo multiple lines into a file - Stack Overflow

    Jul 4, 2012 · 5 `echo "line 1 content" >> myfile.txt` `echo "line 2 content" >> myfile.txt` `echo "line 3 content" >> myfile.txt` add >> instead of > after the string you want to echo, this command …

  5. Echo newline in Bash prints literal \\n - Stack Overflow

    Dec 12, 2011 · Also notable: in Unix & Linux Stack Exchange, the accepted answer to How to add new lines when using echo

  6. How to use echo command to print out content of a text file?

    39 I am trying to figure out what is the usage of this command: echo < a.txt According to text book it should redirect a programs standards input. Now I am redirecting a.txt to echo but instead of …

  7. linux - Can I use ECHO to execute commands? - Stack Overflow

    I've come up with a cool script that will produce the output that I need, but it only displays on the screen, so I have to copy, then paste in the commands to get them to execute. Here's the …

  8. How can I write and append using echo command to a file

    How can I write and append using echo command to a file Asked 12 years, 6 months ago Modified 2 years, 2 months ago Viewed 356k times

  9. Echoing an 'echo' command with a variable in Bash

    My goal is create a script using echo commands and then run it later. I just need to figure out how to echo echo/read commands while maintaining my variables. edit: the variables need to …

  10. How to change the output color of echo in Linux - Stack Overflow

    May 10, 2011 · I am trying to print a text in a red color in the terminal using echo command. How can I do that?