Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

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.

This article was originally written on 11/26/06 Tagged with: Šis pants tika sākotnēji rakstīts uz 11/26/06 tagged with: Ubuntu Ubuntu , , Ubuntu Tips & Tweaks Ubuntu Tips & Tweaks

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:


Name: Vārds:
Email: E-pasts:

Comments (1) Komentāri (1)

  1. kash kash

    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.


Leave a Comment Leave Comment




Leave your Atstājiet savu friendly draudzīgs comment here. komentārus šeit.

If you have a computer help question, Ja Jums ir dators palīdzēt jautājumu, click here to leave it on the forums click here to atstāt uz forumu instead. vietā.

Note: Your comment may not show up immediately on the site. Piezīme: Jūsu komentārs var neparādīties pat tieši uz vietas.

Our Friends Our Friends
Getting Started Getting Started


About How-To Geek Par How-To Geek
What Is That Process? Kas ir šis process?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.