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 / shan, chennai

Cat:-
Using the cat command, we will be able to create the new
file as well as put the required ocntent inside the files
(CNTL+d to come out the file after putting the content). At
a time only one file can create.

Touch:-
Using this command, we can create the more than one file at
a time without inserting the content (So file size will be
always ZERO).

Example:
$cat > test11.js
$touch test1.ls test2.js test3.js

Shan, Chennai

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why metadb requires a seperate slice to create Solaris volume manager

3080


What is pipe command in unix?

1228


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

1091


Which command is used to restrict incoming messages?

1043


Write a command to display a file’s contents in various formats?

1149


Who command in unix operating system?

1085


hw will u use awk in replacing cahrs and files

3180


What will the following command do?

1062


What does this command do? Cat food 1 > kitty

1530


Which command can you use to find the currently running process in unix server?

1070


What does the md command do?

1073


What do chgrp command do?

1142


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

1091


How do I open a port?

1036


What is updatedb?

990