what is the difference between Touch & cat command

Answer Posted / manikantan t s

touch :- This can be used to create a file with size 0 and
to change the time stamp of a file.

cat :- This can be used to display the content of a
file,concatinate etc.

Is This Answer Correct ?    85 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bash commands?

601


Differentiate cat command from more command.

582


What is the command to view process running?

578


Explain ‘system calls’ with respect to unix commands?

606


How do I search for text in vi?

590






How do I find previous commands in unix?

596


How do I run a bash script?

588


Describe the zip/unzip command using gzip.

615


What is “chmod” command?

568


What do chown command do?

536


What is command statement?

543


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

637


What is the function of grep command in unix?

593


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

649


What does the md command do?

578