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 Posledná Accessed súboru Time In Ubuntu Linux

Ubuntu Linux has a rich set of commands for manipulating and accessing files. Ubuntu Linux má bohatú sadu príkazov pre manipuláciu a pristupovať k súborom. The stat utility gives detailed access to file information, including last accessed and last modified file time. Stat Nástroj poskytuje podrobné informácie o nahliadnutie do spisu, vrátane posledného prístupu a poslednej zmenený súbor času.

From the terminal window, run the command with this syntax: Z okna terminálu, spustite príkaz s touto syntaxou:

stat filename stat súboru

Here's an example of checking the last time I've run Firefox on one of my machines: Tu je príklad kontroly poslednej dobe som spustiť Firefox na jeden z mojich strojov:

 [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 Veľkosť: 9781136 bloky: 19136 IO Block: 4096 Regular súboru 
 Device: 302h/770d       Inode: 555615      Links: 1 Zariadenie: 302h/770d Inode: 555615 Links: 1 
 Access: (0755/-rwxr-xr-x)  Uid: (  500/  geek)   Gid: (  500/  geek) Prístup: (0755/-rwxr-xr-x) Uid: (500 / geek) gid: (500 / geek) 
 Access: 2006-01-14 17:41:15.000000000 -0500 Prístup: 2006-01-14 17:41:15.000000000 -0500 
 Modify: 2005-05-11 14:17:00.000000000 -0400 Zmeniť: 2005-05-11 14:17:00.000000000 -0400 
 Change: 2005-05-13 23:31:44.000000000 -0400 Zmena: 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. Myslím, že som sa nesmie používať, že pole v poslednej dobe ... keď som bol firefox 14.ledna.

This article was originally written on 11/26/06 Tagged with: Tento článok bol pôvodne napísaný na 11/26/06 Tagged s: Ubuntu Ubuntu , , Ubuntu Tips & Tweaks Ubuntu Tipy & Tweak

Daily Email Updates Denný Svářeč

You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:


Name: Meno:
Email: E-mail:

Comments (1) Komentáre (1)

  1. kash Kash

    Is there any way to know who accessed the file last time. Existuje nejaký spôsob, ako zistiť, kto prístup k súboru minule.


Our Friends Naši priatelia
Getting Started Začíname


About How-To Geek O tom, ako-To Geek
What Is That Process? Čo je to za proces?
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.