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 / tony

A one line piece of text can always be added like this:

$ echo "Please add this text" >> file.txt

A file (a text file preferably) can be added:

$ cat inputfile.txt >> outputfile.txt

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between bash and shell?

1076


is this growing field and what is average package in this?

2264


Write the syntax for "if" conditionals in linux?

1075


How do I start a shell script?

1151


What is the first line of a shell script called?

1052


What language is bash?

872


When should shell programming/scripting not be used?

1101


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

3436


Is shell a scripting language?

969


What's the difference between scripting and coding?

1120


What is shell scripting?

1001


determine the output of the following command: echo ${new:-variable}

935


How to get the last line from a file using just the terminal?

1182


Explore about environment variables?

1004


What is a shell made of?

919