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...

what is the difference between Touch & cat command

Answer Posted / narendrasairam

cat - command is used to display the content of a file
touch - command is used to change the time stamp of a file

Is This Answer Correct ?    27 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is grep called grep?

1298


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1313


How can we use grep command in unix?

1210


What does the command ' $who | sort –logfile > newfile' do?

1279


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1243


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:

2265


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

1214


Is grep faster than awk?

1042


What is the pipe command?

1190


Can you enlist some commonly used network commands?

1113


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

1089


What are the unix commands?

1097


What is awk good for?

1136


What is unix command?

1263


Explain command to display different lines that are found when compare two files?

1178