Unix file atime
A relevant post: find's mtime and ctime options. Improve this question. RhythmInk RhythmInk 3 3 silver badges 11 11 bronze badges.
Add a comment. Active Oldest Votes. Improve this answer. Yurko Yurko 2 2 silver badges 4 4 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Ask Question. Asked 6 years, 4 months ago.
Active 6 years, 4 months ago. Viewed 6k times. How do I list the atime for files? Improve this question. Community Bot 1. Jasmine Lognnes Jasmine Lognnes 1 1 silver badge 5 5 bronze badges. According to this manpage , FreeBSD's stat should contain the same functionality. Add a comment. Use the Unix find command to search for files To use the find command, at the Unix prompt, enter: find. Options The general form of the command is: find starting directory matching criteria and actions The find command will begin looking in the starting directory you specify and proceed to search through all accessible subdirectories.
You have several options for matching criteria: -atime n File was accessed n days ago -mtime n File was modified n days ago -size n File is n blocks big a block is bytes.
On other systems, a trailing slash does not affect the command. Related documents. Find the correct path to an executable file in Unix Determine your current working directory in Unix Get a recursive directory listing in Unix.
Article Contributed By :. Easy Normal Medium Hard Expert. Writing code in comment? Please use ide. Load Comments. What's New. Most popular in Linux-Unix. More related articles in Linux-Unix. We use cookies to ensure you have the best browsing experience on our website.
Start Your Coding Journey Now! Login Register.
0コメント