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.

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



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