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 the nmap command?

1200


What is a command and examples?

1246


What does the metacharacter mean?

1145


What does the “echo” command do?

1166


What is the significance of the 'tee' command?

1205


What do know about tee command and its usage?

1199


What does #!/ Bin sh do?

1079


Explain the steps that a shell follows while processing a command.

1248


How do I search for a file in unix command?

1028


What is the functionality of a top command?

1117


How do I search a whole word in vim?

1192


What is $0 bash?

1214


How do you repeat a command in terminal?

1245


Does cp command overwrite files?

1219


What is grep command in unix with examples?

1234