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

Is makefile a shell script?

999


What does bash stand for?

1063


Which command is used to find what is in your home directory?

996


What does chmod 666 do?

985


How remove all files in a directory linux?

1018


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

1010


What is cat command in linux?

1016


What does touch do in linux?

986


Which command is used to uncompress gzip files?

1155


Who am I command in linux?

1032


What is cpu in top command?

1064


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

1002


What is command grouping?

1056


What is the difference between diff and cmp command in unix?

1072


How do you run a command for a limited time?

1023