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 are the different types of commonly used shells on a typical linux system?
What are the disadvantages of shell scripting?
What is awk in shell scripting?
Why are there shells on the beach?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
How will you emulate wc –l using awk?
Explain about "s" permission bit in a file?
Is shell and terminal the same?
Can you write a script to portray how set –x works?
Is cmd a shell?
What does sh mean?
How do I open a jshell in cmd?
What is option in shell script?
How many fields are present in a crontab file and what does each field specify?
What is the lifespan of a variable inside a shell script?