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 / punit sharma

There are diffferent ways of crating a file on Unix

1. touch <filename>
2. cat <filename>
3. echo > <filename>
4. > <filename>
5. Using Vi editor


Is This Answer Correct ?    78 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1174


What is {} in find command?

1065


What difference between cmp and diff commands?

1261


What is command substitution?

1284


What is used to type command?

1015


What is the comma to display different lines that are found when compare two files?

1102


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2214


What is the general format of unix command syntax?

1823


What is awk command used for?

1148


What is nr in awk command?

1145


What is time_t?

1067


What is rmdir command?

1051


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

1187


What is the use of awk command in unix?

1083


What is command statement?

1114