what is the difference between Touch & cat command
Answer Posted / prasanta
Both touch and cat commands are used to create a file.
but file created by touch will be of 0 byte i.e we can not
insert any data into the file and by using cat command we
can insert data into the file.
the advantage of touch command is that we can create as many
as possible files in a single command line.
ex:touh file1 file2 file3 file4...but we cannot do this
thing by using create command.
prasant kumar
prasantmuna@gmail.com
| Is This Answer Correct ? | 44 Yes | 7 No |
Post New Answer View All Answers
Differentiate cat command from more command.
Why is it called grep?
How do you grep recursively?
What command is used to check the current users?
Which command is used to kill the last background job?
Using unix command how to display no of records in oracle?
What is grep r?
What do know about tee command and its usage?
Name the general commands in using unix os for a beginner?
Explain command to show the space allocation of files?
How to find $ai_serual resolved path by using unix
What does this command do,"$more readme.txt“?
Why is shebang used?
Why is awk called awk?
What is time_t?