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
What is unix command line?
Which command is used to find whether the system is 32 bit or 64 bit?
What is the first character of the output in ls l command?
What is the functionality of a top command?
What is the significance of the 'tee' command?
What is rmdir command?
How do I use nslookup?
What does the metacharacter mean?
What are file commands?
Explain mount and unmount command.
Which command is used to create a directory?
Explain command to view process running?
What is command substitution?
What is the difference between cat and more command?
What is the command to compare two files in unix?