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 is difference between shell and bash scripting?
Why are there shells on the beach?
What is an inode block?
I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.
How do you debug a script?
What is web script?
How to print all the arguments provided to the script?
How can I set the default rwx permission to all users on every file which is created in the current shell?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What is shell terminal?
Is powershell a language?
Is shell script a programming language?
What is gui scripting?
What is a shell script in windows?
How to check if a directory exists?