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 create a new file command

Answer Posted / v.balaviswanathan

$ cat > filename

to overwrite this we can use

$ cat >> filename

If we want to prevent accidental overwriting we use the command

$ set -o noclobber

and with

$ set +o noclobber
can be done to overwrite a file

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a command in linux?

1135


Explain about chmod options filename?

1189


What is cmake in linux?

1206


Explain the working of command grouping?

1100


What is difference between sh and bash?

1052


How do I list directories in linux?

1113


What does in makefile do?

1064


What can you tell about the tar command?

1173


How do I check cpu usage?

1063


What is $@ in bash?

1251


How does diff command work?

1019


What is p in mkdir?

1051


How is grep so fast?

1045


How find ip address linux?

1131


What could be the problem when a command that was issued gave a different result from the last time it was used?

1285