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

How do you grep a case insensitive?

536


What is unix command?

579


Does cp command overwrite files?

616


What is ‘ps’ command for?

612


What is the search command in unix?

597






Is ‘du’ a command? If so, what is its use?

631


Which command should you use to find the remaining disk space in unix server?

701


How do I delete files from command prompt?

549


What is the use of find command in unix?

575


Which command is used to restrict incoming messages?

589


What happens when we execute a unix command?

597


What's a command word?

583


What is grep command in unix with examples?

604


What are the dos commands?

642


What does 'mkdir' command do in UNIX?

656