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 3 standard streams in linux?
How will you print the login names of all users on a system?
What is the first line of a shell script called?
How do scripts work?
How will you emulate wc –l using awk?
Why is it called a shell?
How do I edit a .sh file?
What is a shell script? Can you name some of its advantages?
What language is used in terminal?
how will you find the total disk space used by a specific user?
What are the different commands available to check the disk usage?
What is the difference between grep and egrep?
What is the use of a shebang line?
Is cmd a shell?
is this growing field and what is average package in this?