Top community members
All Wiki Articles Create Wiki Article

Many years me and my friends we were volunteers on my university doing programming classes for young people.

I got main conclusion: Young people are awesome, especially students, because they always bring new and fresh ideas :)
* I loved to do it but my time is limited

  I decided to create something that will help millions of students

Now I am here

co-founder

Bash - how to check file dates?

0 contributions
10 points

1. It can be checked with stat command:

$ stat path/to/file

Example:

$ stat path/to/file
  File: path/to/file
  Size: 6         	Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d	Inode: 656476      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/   my_user)   Gid: ( 1000/   my_user)
Access: 2019-08-02 22:29:18.853867483 +0100
Modify: 2019-08-02 22:29:18.853867483 +0100
Change: 2019-08-02 22:29:18.853867483 +0100
 Birth: -

2. Or with ls command:
    - atime - time of last access:

$ ls –lu 

    - mtime - time of last modification

$ ls –l

    - ctime - time of last status change

$ ls –lc
0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more