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

Give the command for finding the current date.

1036


Is it inbetween or in between?

998


What is the function of grep command in unix?

1106


What are file commands?

1160


Is ‘du’ a command? If so, what is its use?

1091


What is in grep command?

1119


Explain the steps that a shell follows while processing a command.

1162


What command is used to switching between users in unix?

1026


What does the “echo” command do?

1097


what is the advaantage of each user having its own copy of the shell?

2505


Why is it called grep?

970


Why is awk called awk?

1020


How to find $ai_serual resolved path by using unix

1638


What is the use of the tee command?

1054


Which command can you use to find the currently running process in unix server?

1070