Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash date of file

# use the "stat" command to see when it was created, modified, last accessed..
stat yourFileName
Comment

shell get creation date of file

[jason@rh5 test]$ stat test.txt
  File: `test.txt'
  Size: 0               Blocks: 8          IO Block: 4096   regular empty file
Device: 802h/2050d      Inode: 588720      Links: 1
Access: (0664/-rw-rw-r--)  Uid: (  500/   jason)   Gid: (  500/   jason)
Access: 2013-03-14 01:58:12.000000000 -0700
Modify: 2013-03-14 01:58:12.000000000 -0700
Change: 2013-03-14 01:58:12.000000000 -0700
Comment

PREVIOUS NEXT
Code Example
Shell :: Deploy to AWS Terraform and Gitlab 
Shell :: git remove file 
Shell :: install nginx on ec2 
Shell :: cool welcome message linux 
Shell :: jest for react 
Shell :: install font in react native 
Shell :: how to change the time in kali linux 
Shell :: git liste branches 
Shell :: pdf compressor linux 
Shell :: bash script get last position of character in string 
Shell :: unzip a file terminal 
Shell :: page rank example 
Shell :: linux help 
Shell :: git add an entire folder to commit 
Shell :: sh: webpack-dev-server: command not found 
Shell :: bash escape all special characters 
Shell :: GIT: List all currently configured remotes 
Shell :: hugo documentation 
Shell :: uninstall all pip packages anaconda 
Shell :: shell themes for ubuntu 
Shell :: shell: how to grep a string 
Shell :: printf linux 
Shell :: what does %! mean vim 
Shell :: bash ps sort by time 
Shell :: install libraries in the carfile file command shell carthagfe 
Shell :: nvm update specifiec version 
Shell :: An error occurred while installing capybara-webkit (1.15.1), and Bundler cannot continue. 
Shell :: powerhsell write to output file from multiple jobs 
Shell :: how to auto cd into git repo 
Shell :: linux lastpass export data 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =