Get Last Accessed File Time In Ubuntu Linux Get Last Piekļūt File Time In Ubuntu Linux
Ubuntu Linux has a rich set of commands for manipulating and accessing files. Ubuntu Linux ir bagāts komplekts komandas manipulēt un piekļūt failiem. The stat utility gives detailed access to file information, including last accessed and last modified file time. Stat lietderība sniedz detalizētus piekļuvi lietas materiāliem informāciju, tostarp pēdējā piekļūt un pēdējā modificētu failu laiku.
From the terminal window, run the command with this syntax: No termināļa loga, palaidiet komandu ar šo sintaksi:
stat filename stat filename
Here's an example of checking the last time I've run Firefox on one of my machines: Šeit ir pārbaudīt pēdējā laikā man palaist Firefox par vienu no savām mašīnām piemēram:
[geek@ubuntu firefox]# stat firefox-bin [geek @ Ubuntu Firefox] # stat firefox-bin File: `firefox-bin' File: "firefox-bin" Size: 9781136 Blocks: 19136 IO Block: 4096 Regular File Size: 9781136 Blocks: 19.136 IO Block: 4096 Regular File Device: 302h/770d Inode: 555615 Links: 1 Ierīce: 302h/770d Inode: 555.615 Saites: 1 Access: (0755/-rwxr-xr-x) Uid: ( 500/ geek) Gid: ( 500/ geek) Access: (0755/-rwxr-xr-x) Uid: (500 / geek) GID: (500 / Kanāda) Access: 2006-01-14 17:41:15.000000000 -0500 Pieeja: 2006-01-14 17:41:15.000000000 -0500 Modify: 2005-05-11 14:17:00.000000000 -0400 Grozīt: 2005-05-11 14:17:00.000000000 -0400 Change: 2005-05-13 23:31:44.000000000 -0400 Change: 2005-05-13 23:31:44.000000000 -0400
I guess I haven't used that box in a while… last time I used firefox was january 14th. Man laikam nav izmantoti, ka aile, bet ... Pēdējā laikā es lieto firefox bija janvāris 14.

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:



Is there any way to know who accessed the file last time. Vai ir kāds veids, kā uzzināt, kas pieejama faila pēdējo reizi.