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 / abhishek dilliwal

yeah above are the ways but i have 1 more,

echo "
Here u write contents of file
this is second line of file
" | cat > NewFile

Is This Answer Correct ?    57 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep r?

1090


What does touch command do in unix?

1414


Is ‘du’ a command? If so, what is its use?

1142


How to display no of records in oracle using unix command?

1165


Who command in unix operating system?

1127


Who invented grep?

1158


Can you explain a little bit about command substitution?

1110


Explain command to view process running?

1123


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


What is the general format of unix command syntax?

1916


What do know about tee command?

1155


How do you grep a case insensitive?

1044


How do I search a whole word in vim?

1171


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

1217


What is the function of grep command in unix?

1172