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

What is in mkdir command?

1014


How do I check my disk space?

900


How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?

2636


What is c++ makefile?

860


What is bc command in unix?

965


What is netstat command in linux?

961


Explain any one service which are working on udp only?

845


Explain about the command lynx?

1045


What does cd – command do?

969


Does linux cp command overwrite?

1058


What is an os command?

1030


What are the options of wc command?

989


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1675


How find ip address linux?

1004


Which command would you use if you want to remove the password assigned to a group?

893