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
Does cp command overwrite files?
What is merge command in unix?
Give the command for finding the current date.
Is command prompt unix?
What is the use of finger command?
What do chgrp command do?
Why is it called a shebang?
What difference between cmp and diff commands?
What are reported commands?
What does 'mkdir' command do in UNIX?
What is pipe command in unix?
What is .sh file?
What does this command do,"$more readme.txt“?
Which command is used to copy files?
What are file commands?