what is the difference between Touch & cat command

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to delete all files in the current directory and all its sub-directories?

769


How to use grep command to list find the records of a file containing 10 different strings?

729


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

761


What is used to type command?

634


What is grep command in unix with examples?

685






What are the dos commands?

746


What is the command to find hidden files in the current directory?

692


What does the metacharacter mean?

691


What is ctrl d?

686


Explain how to use grep command to list find the records of a file containing 10 different strings?

683


What is the use of the command 'ls -x chapter[1-5]' ?

768


How do you repeat a command in terminal?

707


What is awk command used for?

694


Write a command to kill the last background job?

702


What are the differences among a system call, a library function, and a unix command?

669