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 / suchitra

cat > filename
this will create a file adn allows you to enter text and
to come out of the file,press ctrl+d.Then teh file will be
created.

touch command can also be used to create file.but this will
create empty file.

using Vi editor also the files can be created.

and few more editor like "ed" can also be used.
hence there are many ways to create a file in unix.

Is This Answer Correct ?    97 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep r?

1049


Can you explain a little bit about command substitution?

1066


What does grep v do?

1008


What is the use of tee command?

1090


What is grep and how do you use it?

1066


What does this command do? Cat food 1 > kitty

1536


What will the following command do?

1078


What is awk command used for?

1143


What does touch command do in unix?

1355


What do chmod command do?

1149


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

1024


How does the system know where one command ends and another begins?

2184


hw will u use awk in replacing cahrs and files

3185


How do I run a whois command?

1110


What command will change your prompt to myprompt?

1263