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
What does #!/ Bin sh do?
What is the significance of the 'tee' command?
What do chmod, chown, chgrp commands do?
Is command prompt unix?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the general format of unix command syntax?
How do I run a bash script?
What does this command do,"$more readme.txt“?
Why is it called a shebang?
Describe the usage and functionality of the command rm –r * in unix?
What is the use of awk command in unix?
Is ‘du’ a command? If so, what is its use?
How do I use grep to search for a file?
What are file commands?
What is awk command used for?