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
How to find $ai_serual resolved path by using unix
Describe the zip/unzip command using gzip.
What is nr in awk command?
How do I run a whois command?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is the command to compare two files in unix?
How do I clear my terminal history?
What does sed command do in unix?
What are the unix commands?
How to use grep command to list find the records of a file containing 10 different strings?
Can you enlist some commonly used network commands?
What command is used to check the current users?
Name the various commands that are used for the user information in unix.
What does 'mkdir' command do in UNIX?
Which command is used to restrict incoming messages?