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

What is grep in bash?

1012


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

1242


How do I search for a file in unix command?

979


What do know about tee command?

1108


What does 'mkdir' command do in UNIX?

1242


How to display no of records in oracle using unix command?

1104


What does touch command do in unix?

1344


What are awk commands?

1101


Why is it called grep?

975


Which unix command lists files/folders in alphabetical order?

1666


What does the md command do?

1075


What does grep v grep do?

1025


How many unix commands are there?

1104


why metadb requires a seperate slice to create Solaris volume manager

3084


Who command in unix?

1094