Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the advantages of using shell scripts?

1048


Which shell is the best?

974


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

3456


What is wc in shell script?

962


Write the syntax for "if" conditionals in linux?

1098


What are the four fundamental components of every file system on linux?

1655


How can the contents of a file inside jar be read without extracting in a shell script?

1111


What is a boot block?

1004


How do I edit a .sh file?

1123


How do I save a powershell script?

1127


What are script files?

1004


Determine the output of the following command: name=shubham && echo ‘my name is $name’.

970


What is bourne shell scripting?

959


What happens when you type ls?

982


What can scripts do?

1087