touch -a file.txt

Category: File Operations

touch -a file.txt

Update only the access time of a file

Updates only the access time (when the file was last read) without changing the modification time.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.