what is the difference between Touch & cat command

Answer Posted / sivakumar

By using CAT command, we can easily create a new file or
view the file.

Touch command is mainly used for creating a empty file. We
cannot insert any content into this file. File storage is 0
bytes of memory.

Is This Answer Correct ?    92 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the pipe command?

581


What is grep in bash?

590


What is the first character of the output in ls l command?

637


Why is it called a shebang?

574


how to sort the content of the file based on numeric values

1256






Explain command to view process running?

618


What is nr in awk command?

610


How do I use grep to find a file?

583


What is grep r?

594


What does touch command do in unix?

733


How can you see the command line history?

587


Write a command to kill the last background job?

621


What does pipe () return?

598


What do chgrp command do?

594


Why is shebang used?

600