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 do you create a file in UNIX

Answer Posted / vi

We can create empty file by using the command true or :
: > testfile1
(or)
true > testfile2

The above two examples will create files.

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain ‘library functions’ with respect to unix commands?

1215


What is the comma to show the space allocation of files?

1135


Describe the zip/unzip command using gzip.

1226


What does touch command do in unix?

1479


What is the general format of unix command syntax?

2031


How do I use nslookup?

1147


What does the metacharacter mean?

1191


Which command is used to restrict incoming messages?

1148


Is it inbetween or in between?

1109


What is in grep command?

1213


Explain how to use grep command to list find the records of a file containing 10 different strings?

1125


What does the command ' $who | sort –logfile > newfile' do?

1325


What are the differences among a system call, a library function, and a unix command?

1275


Name the various commands that are used for the user information in unix.

1134


What difference between cmp and diff commands?

1352