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
What is the command to find maximum memory taking process on the server?
Explain command to show the space allocation of files?
Is command prompt unix?
What is grep and how do you use it?
What is the first character of the output in ls l command?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is grep short for?
What happens when we execute a unix command?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Who invented grep?
What is command statement?
Enlist some filename manipulation commands in unix.
What is updatedb?
What are filter commands in unix?
Is grep faster than awk?