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 קבל שעה קובץ Accessed האחרון אובונטו לינוקס

Ubuntu Linux has a rich set of commands for manipulating and accessing files. אובונטו לינוקס יש אוסף עשיר של פקודות עבור המניפולציה והגישה קבצים. The stat utility gives detailed access to file information, including last accessed and last modified file time. השירות Stat נותן גישה לקובץ מידע מפורט, כולל לאחרונה הגישה וזמן קובץ last modified.

From the terminal window, run the command with this syntax: מחלון הטרמינל, להפעיל את הפקודה עם התחביר הזה:

stat filename stat filename

Here's an example of checking the last time I've run Firefox on one of my machines: הנה דוגמה של בדיקת הפעם האחרונה שאני מפעיל אתר על אחת המכונות שלי:

 [geek@ubuntu firefox]# stat firefox-bin [חנון @ ubuntu firefox] # אתר Stat-bin
  File: `firefox-bin' קובץ: `Firefox-bin"
  Size: 9781136         Blocks: 19136      IO Block: 4096   Regular File גודל קובץ: 9781136 קוביות: 19136 IO Block: 4096 Regular
Device: 302h/770d       Inode: 555615      Links: 1 מכשיר: inode 302h/770d: 555,615 קישורים: 1
Access: (0755/-rwxr-xr-x)  Uid: (  500/  geek)   Gid: (  500/  geek) גישה: (0755/-rwxr-xr-x) UID: (500 / חנון) GID: (500 / חנון)
Access: 2006-01-14 17:41:15.000000000 -0500 גישה: 2006-01-14 17:41:15.000000000 -0500
Modify: 2005-05-11 14:17:00.000000000 -0400 שנה: 2005-05-11 14:17:00.000000000 -0400
Change: 2005-05-13 23:31:44.000000000 -0400 שנה: 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. אני מניח שאני לא השתמשתי כי תיבת זמן ... בפעם האחרונה הייתי Firefox היה ינואר -14.

This article was originally written on 11/26/06 Tagged with: מאמר זה נכתב במקור ב 11/26/06 עם שתייגת: Ubuntu Ubuntu , , Ubuntu Tips & Tweaks Ubuntu Tips & Tweaks

Daily Email Updates שערי עדכונים בדוא"ל

You can get our how-to articles in your inbox each day for free. אתה יכול לקבל כמה שלנו למאמרים לתיבת הדואר שלך בכל יום בחינם. Just enter your name and email below: פשוט להזין את שם ואת הדוא"ל שלך להלן:


Name: שם:
Email: דואר אלקטרוני:

Comments (1) תגובות (1)

  1. kash קש

    Is there any way to know who accessed the file last time. האם יש דרך לדעת מי הגישה את הקובץ בפעם האחרונה.


Our Friends חברים שלנו
Getting Started התחלת העבודה


About How-To Geek אודות How-To Geek
What Is That 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. זכויות יוצרים © 2006-2009 HowToGeek.com. All Rights Reserved. כל הזכויות שמורות.