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 the nmap command?
What is a command and examples?
What does the metacharacter mean?
What does the “echo” command do?
What is the significance of the 'tee' command?
What do know about tee command and its usage?
What does #!/ Bin sh do?
Explain the steps that a shell follows while processing a command.
How do I search for a file in unix command?
What is the functionality of a top command?
How do I search a whole word in vim?
What is $0 bash?
How do you repeat a command in terminal?
Does cp command overwrite files?
What is grep command in unix with examples?