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
Which command is used to find whether the system is 32 bit or 64 bit?
What difference between cmp and diff commands?
How do you grep recursively?
What is command statement?
What is the command to view process running?
How do I use nslookup?
What is in grep command?
What is rmdir command?
What do chmod, chown, chgrp commands do?
What does find command return in unix?
What are some command words?
What is the general format of unix command syntax?
What does the “echo” command do?
Describe the zip/unzip command using gzip.
How does shebang work?