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
What are the advantages of using shell scripts?
Which shell is the best?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is wc in shell script?
Write the syntax for "if" conditionals in linux?
What are the four fundamental components of every file system on linux?
How can the contents of a file inside jar be read without extracting in a shell script?
What is a boot block?
How do I edit a .sh file?
How do I save a powershell script?
What are script files?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
What is bourne shell scripting?
What happens when you type ls?
What can scripts do?