I created a file long back named test.sh
.
Now I want to know when the file was created, not the modification time.
Which command I can use?
If I try stat test.sh
:
File: 'test.sh'
Size: 7 Blocks: 8 IO Block: 4096 regular file
Device: xxxx/12345r Inode: 1769677 Links: 1
Access: (0761/-rwxrw---x) Uid: (52898/ xxxx) Gid: ( 1202/ xxxxx)
Access: 2017-11-17 01:11:20.000000000 -0500
Modify: 2017-11-01 00:45:18.000000000 -0400
Change: 2017-11-26 09:16:15.000000000 -0500
Birth: -
I am unable to see the created time in the output.
.bashrc
file and have then a one line command. – Videonauth Nov 27 '17 at 12:48linux-generic-hwe-16.04-edge
(4.13), and not the usuallinux-generic-hwe-16.04
(4.10)--you can use that method. – Eliah Kagan Nov 27 '17 at 16:01