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

to create the file using this command..
$ cat > filename

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1211


How does pipe () work?

1088


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

1207


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

1206


How do I open a port?

1080


What is updatedb?

1041


How do I search for a file in unix command?

1014


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

1083


Name the general commands in using unix os for a beginner?

1152


What do know about tee command and its usage?

1173


What is s and g in sed command?

1114


What is awk used for?

1123


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

1210


What is grep short for?

1045


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:

2262