日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

在Ubuntu Linux中获取上次访问的文件时间

發布時間:2023/12/9 linux 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在Ubuntu Linux中获取上次访问的文件时间 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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.

Ubuntu Linux具有一組豐富的用于操作和訪問文件的命令。 stat實用程序可提供對文件信息的詳細訪問,包括上次訪問和上次修改的文件時間。

From the terminal window, run the command with this syntax:

在終端窗口中,使用以下語法運行命令:

stat filename

統計文件名

Here’s an example of checking the last time I’ve run Firefox on one of my machines:

這是檢查我上次在其中一臺計算機上運行Firefox的示例:

[geek@ubuntu firefox]# stat firefox-binFile: `firefox-bin'Size: 9781136 Blocks: 19136 IO Block: 4096 Regular File Device: 302h/770d Inode: 555615 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 500/ geek) Gid: ( 500/ geek) Access: 2006-01-14 17:41:15.000000000 -0500 Modify: 2005-05-11 14:17:00.000000000 -0400 Change: 2005-05-13 23:31:44.000000000 -0400 [geek@ubuntu firefox]# stat firefox-binFile: `firefox-bin'Size: 9781136 Blocks: 19136 IO Block: 4096 Regular File Device: 302h/770d Inode: 555615 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 500/ geek) Gid: ( 500/ geek) Access: 2006-01-14 17:41:15.000000000 -0500 Modify: 2005-05-11 14:17:00.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.

我想我已經有一段時間沒用那個盒子了……上一次我使用Firefox是1月14日。

翻譯自: https://www.howtogeek.com/howto/ubuntu/get-last-accessed-file-time-in-ubuntu-linux/

總結

以上是生活随笔為你收集整理的在Ubuntu Linux中获取上次访问的文件时间的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。