what is the difference between Touch & cat command

Answers were Sorted based on User's Feedback



what is the difference between Touch & cat command..

Answer / bhaskar

touch command is using for creating a file


cat command is printing a file

Is This Answer Correct ?    4 Yes 16 No

Post New Answer

More Unix Commands Interview Questions

which command is used to change group?

5 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


what is the command to print last 8 lines of any text file.

10 Answers  


How to create hardlinks and softlinks on files?

2 Answers  


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,






Are you in or at the office?

0 Answers  


How do you list the files in an UNIX directory while also showing hidden files?

6 Answers  


How do you repeat a command in terminal?

0 Answers  


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  


Write a command that will display files in the current directory, in a colored, long format.

0 Answers  


Briefly, how do you install Oracle software on UNIX.

2 Answers  


Categories