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

Answers were Sorted based on User's Feedback



what is the difference between Touch & cat command..

Answer / m.a.afroze

Touch : Touch command is to create an Empty file and it
bytes size is equal to 0.

Cat : Cat command is created with the related file
information.

Is This Answer Correct ?    9 Yes 5 No

what is the difference between Touch & cat command..

Answer / deepak kr. singh

touch Command is mainy used for Created 0 byte file called
control file which is used in the any process

Is This Answer Correct ?    7 Yes 4 No

what is the difference between Touch & cat command..

Answer / varsha

Main diff between CAT and TOUCH command is
By using touch we can create many file at a time.

bt by using cat command we can not create more than one file
or we use cat to display file content,create a file,append
nd copy file content into another file.

Is This Answer Correct ?    5 Yes 2 No

what is the difference between Touch & cat command..

Answer / sricharan

touch:
It can be used to create 0 byte empty file.
syntax: touch filename.txt
we can create multiple file using touch command.
syntax: touch file1.txt file2.txt file3.txt ..... filen.txt
touch commnad is also used to update time stamp
Syntax:touch filename

cat:
It can be use to view the file.
Syntax:cat filename
It can be use to append the existing file.
syntax: cat >> filename
It can be use to concatinate n number of files to one file.
syntax: cat file1 file2 file3 file4 >> newfile
cat is also used to create a file
syntax: cat filename

Is This Answer Correct ?    3 Yes 0 No

what is the difference between Touch & cat command..

Answer / hari

touch is cerate a multipule files at a time
ex:touch file1 file2 file3 file4
cat is onley cerate one file
cat>file

Is This Answer Correct ?    1 Yes 0 No

what is the difference between Touch & cat command..

Answer / prashant

The main difference between touch and cat command is that
touch command is basically used for changing TIME-STAMP
which includes modification time,access time etc as well as
used for creating empty files.
Whereas cat command full form is concatenation ....
means it is used for displaying the content of file
as well as concatenation of files in one single file.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between Touch & cat command..

Answer / varun kumar

touch command is use make empty file and it can be used feature

cat command is use to create, copy , display and append the file

Is This Answer Correct ?    0 Yes 1 No

what is the difference between Touch & cat command..

Answer / lalit

good thanku for all asking an giving answer










please assign it as correct answer

Is This Answer Correct ?    1 Yes 3 No

what is the difference between Touch & cat command..

Answer / hrrrr

Spelling difference

Is This Answer Correct ?    1 Yes 3 No

what is the difference between Touch & cat command..

Answer / anoop varshney

5

Is This Answer Correct ?    3 Yes 14 No

Post New Answer

More Unix Commands Interview Questions

how will you convert a general file to a hidden file?

4 Answers  


What does pipe () return?

0 Answers  


what is the functionality of kernel in unix architecture?

13 Answers   HCL,


What is the protocol for PING command?

1 Answers   IBM,


hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?

5 Answers  


Explain iostat, vmstat and netstat.

3 Answers   CTS, Wipro,


Write a command that will display files in the current directory, in a colored, long format.

0 Answers  


what is Online(STM) and offline diagnostics in HP-UX?

2 Answers   HP,


What is unix command line?

0 Answers  


Are you in or at the office?

0 Answers  


What is the use of cut command in unix?

0 Answers  


Categories