pydelion.com

pydelion.com

date –date="5 min ago" +%d/%b/%Y:%H:%M

Menu

Skip to content
  • about
  • contact

Monthly Archives: September 2018

Linux. how to find the most recent file in a folder

find $DIR -type f -printf "%T@ %p\n" | sort -n | cut -d' ' -f 2- | tail -n 1

Found at StackOverflow.

Posted on September 17, 2018 by dandelion. Posted in linux | Leave a comment
  • Français
  • English
  • Español

Recent Posts

  • Debian: There is no public key available for the following key IDs
  • How to renew Certificate Revocation List
  • Dovecot: Error: mmap failed with file … dovecot.index.cache: Cannot allocate memory
  • Debian: reconfigure unattended upgrades
  • Curl: how to send cookies

Categories

  • linux
  • mysql
  • news
  • python
  • thoughts
  • tips
  • Uncategorized
  • weekly digests

Tags

adaptec ansible apt bash centos curl CORS debian distributed computing dovecot fedora galera html KVM linux memtest minify mysql mysqldump nagios openssl openvz percona perl php port forwarding postfix python qemu raid rpm ruby sed sinatra smtp svn tips trac traceroute ubuntu vim virsh vnstat weekly digest windows wordpress

Knowledge is knowing that a tomato is a fruit. Wisdom is knowing that a tomato doesn't belong in a fruit salad.
Miles Kington
Proudly powered by WordPress Theme: Publish by Konstantin Kovshenin.