Comments on Linux echo Command Tutorial for Beginners (5 Examples)

In this tutorial, we will discuss basics of echo as well as the command line options it provides. Suppose you want to append a hard-coded line of text to a file through the command in Linux, what would you do? An obvious approach would be to open the file in an editor, and then enter the line manually. But think of a case where-in this task needs to be automated. What's your option in that case?

1 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Bobby

Whenever I type any command, it is repeated/shown as I had typed it in the very next line before being executed.

E.g. If I I typed/commanded a useless/non-existing command, it'd show the same 'command' or 'words' in the next line and then will show the prompt again in the 3rd line. If I typed 'ls', then before showing the file list, it'll show/return 'ls' written in the very next line (and then show the real list of files at the current location). How can I stop this behavior?