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 are bash commands?

1226


What is the functionality of a top command?

1161


Explain ‘system calls’ with respect to unix commands?

1156


Differentiate cat command from more command.

1205


What are grep patterns?

1148


What command is used to check the current users?

1174


What is the command to view process running?

1156


Is it inbetween or in between?

1108


What does the “echo” command do?

1195


What command is used to switching between users in unix?

1129


What is a command and examples?

1283


What do chmod, chown, chgrp commands do?

1352


Describe the zip/unzip command using gzip.

1226


What is $0 bash?

1255


Explain ‘library functions’ with respect to unix commands?

1214