Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What Is the command to change a file's creation time. means
one file is created at the time 15:19 then time should br
changed to 14:14

Answer Posted / deepti shrivastava

touch :- used to change the time stamps

Syntax :- touch options expression filename(s)
where expression consists of eight digit number
using the format MMDDhhmm(month,day,hr & min)
E.g :- $ touch 03091245 emp.lst ; ls -l emp.lst
-rw-r--r-- 1 kumar metal 870 Mar 09 12:45 emp.lst

The -m & -a options chng the modifications & access times.
$ touch -m 02281030 emp.lst ; ls -l emp.lst
-rw-r--r-- 1 kumar metal 870 Feb 28 10:30 emp.lst

Is This Answer Correct ?    42 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix command line?

1254


What are bash commands?

1163


How does the system know where one command ends and another begins?

2251


Write a command to display a file’s contents in various formats?

1212


Why is awk called awk?

1073


What is the use of the tee command?

1099


What are some command words?

1139


How do I delete files from command prompt?

1227


What are filter commands in unix?

1197


What is the difference between awk and grep?

1247


What is nr in awk command?

1201


What is grep short for?

1049


What do chown command do?

1186


What does find command return in unix?

1156


How do you repeat a command in terminal?

1226