What is the purpose of touch command

We can use $touch in two ways
  1. To create an empty file
  2. To update the time stamp.
$touch filename by giving this command, first it will search whether there is any file with that name in that particular location or not.
If it is not existing then it is going to create one empty file with the specified name.
If it is already existing then it will update its time stamp.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Buy Coupons