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 is difference between shell and bash scripting?

1043


Why are there shells on the beach?

1190


What is an inode block?

1114


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.

1074


How do you debug a script?

1124


What is web script?

1139


How to print all the arguments provided to the script?

1000


How can I set the default rwx permission to all users on every file which is created in the current shell?

1472


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.

2521


What is shell terminal?

999


Is powershell a language?

1087


Is shell script a programming language?

1070


What is gui scripting?

1185


What is a shell script in windows?

1143


How to check if a directory exists?

1271