what is the difference between Touch & cat command

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

625


What are filter commands in unix?

546


What are grep patterns?

571


hw will u use awk in replacing cahrs and files

2719


Describe the usage and functionality of the command rm –r * in unix?

813






What is used to type command?

533


What is pipe command in unix?

662


What are the dos commands?

638


What is awk used for?

611


How to display no of records in oracle using unix command?

582


What do chmod, chown, chgrp commands do?

624


What command is used to switching between users in unix?

556


What is sed awk grep?

598


How do I find previous commands in unix?

587


What is the unix command to confirm a remote host is alive or not?

569