Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

days between two dates in Linux

echo $[(`date +%s -d 20120203`-`date +%s -d 20120115`)/86400]
Comment

PREVIOUS NEXT
Code Example
Shell :: how to fix git commits 
Shell :: how to append string to file names in linux 
Shell :: install bc command linux 
Shell :: git repo example 
Shell :: umask examples 
Shell :: remove pdf last list 
Shell :: make tarball backup of director 
Shell :: how to get all avd names in cmd 
Shell :: linux stress test 
Shell :: git pull master for feature branch 
Shell :: linux how to write to file 
Shell :: Start rc.local manually 
Shell :: know committed files by author 
Shell :: opera libffmpeg.so 
Shell :: install vim in wsl 
Shell :: sed between two matches 
Shell :: better wget 
Shell :: get code back after hard reset 
Shell :: bash multiline comment 
Shell :: aws s3 cli count objects 
Shell :: git remove vendor folder from remote 
Shell :: laravel install valet 
Shell :: restart fstab ununtu 
Shell :: upload local to remote ssh 
Shell :: git bad object 
Shell :: extract tar gz 
Shell :: hadoop report command 
Shell :: deploy on heroku 
Shell :: remove version from cocoapods 
Shell :: install of the kali wsl desktop 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =