linux guru
Friday, March 2, 2012
linux date command fields without zeros
With zero
root@li60:~/security# date --date "1 day ago" "+%b %d"
Mar 01
Without zero
root@li60:~/security# date --date "1 day ago" "+%b %-d"
Mar 1
1 comment:
Anonymous
July 11, 2012 at 4:05 AM
You can find more examples on date command at:
Date command examples in linux
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
transmission 403 unauthorized ip address
When trying to access transmission from web-browswer i got the message : 403: Forbidden Unauthorized IP Address. Either disable the IP ad...
How to reactivate your SSL
How to reactivate your SSL https://www.ssls.com/
You can find more examples on date command at:
ReplyDeleteDate command examples in linux