How to add some content in any file at some desired location
without using VI or some other editor in UNIX
Answer Posted / sujitha
We can use "Cat" command same as to work like VI to create
and save a file
example : cat>filename
Hi { we can enter content }
Hello
----
------
(ctrl+c) - It will Save in a file
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain about non-login shell files?
What is console line?
What is $1 in shell scripting?
What is the difference between grep and egrep?
What is the equivalent of a file shortcut that we have a window on a linux system?
What is shell chemistry?
What is a boot block?
Is shell scripting easy to learn?
How will you pass and access arguments to a script in linux?
What is the use of "$?" Sign in shell script?
Explain about debugging?
How will you emulate wc –l using awk?
How do I stop script errors?
How to set an array in linux?
What is bash eval?