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

cat is for concatenation of 2 or more files if used over
single file it simply displays its contents

touch is used for modifying the time stamp of a file, also
used for making empty files

try,
$touch file{1,2,3,4}
to create 4 files as: file1, file2,..

Is This Answer Correct ?    13 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix command line?

1170


Which command is used to find whether the system is 32 bit or 64 bit?

1074


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

1155


What is the functionality of a top command?

1049


What is the significance of the 'tee' command?

1131


What is rmdir command?

1036


How do I use nslookup?

1034


What does the metacharacter mean?

1084


What are file commands?

1154


Explain mount and unmount command.

1139


Which command is used to create a directory?

1089


Explain command to view process running?

1063


What is command substitution?

1259


What is the difference between cat and more command?

1218


What is the command to compare two files in unix?

1052