How to add some content in any file at some desired location
without using VI or some other editor in UNIX
Answer Posted / tony
A one line piece of text can always be added like this:
$ echo "Please add this text" >> file.txt
A file (a text file preferably) can be added:
$ cat inputfile.txt >> outputfile.txt
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between bash and shell?
is this growing field and what is average package in this?
Write the syntax for "if" conditionals in linux?
How do I start a shell script?
What is the first line of a shell script called?
What language is bash?
When should shell programming/scripting not be used?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
Is shell a scripting language?
What's the difference between scripting and coding?
What is shell scripting?
determine the output of the following command: echo ${new:-variable}
How to get the last line from a file using just the terminal?
Explore about environment variables?
What is a shell made of?