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

We can create empty file by using the command
$ touch filename
Adding contents to an empty file
$ cat >>filename
- writing any contents
-ctl + d
$ cat filename

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to kill the last background job?

1331


How does shebang work?

1063


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1218


Who invented grep?

1158


Write a command that will display files in the current directory, in a colored, long format.

1210


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

1083


What is the use of tee command?

1155


What is the use of awk command in unix?

1119


What are the differences among a system call, a library function, and a unix command?

1213


Name the various commands that are used for the user information in unix.

1079


What is the first character of the output in ls l command?

1209


Name the unix command to find how many days the server has been up.

1162


What do chown command do?

1183


Why is it called a shebang?

1179


What does the “echo” command do?

1150