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 a command and examples?

1217


What does the command '$ls | wc –l > file1' do?

1226


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1210


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

1083


What does the “echo” command do?

1147


Which command is used to restrict incoming messages?

1098


Is grep faster than awk?

1039


Write a command to kill the last background job?

1098


Which command is used to copy files?

1170


What are the dos commands?

1255


What do chgrp command do?

1206


What is the command to find maximum memory taking process on the server?

1206


What is $0 bash?

1201


What is the use of find command in unix?

1142


What is rmdir command?

1098