1. openssh
sudo rpm -qa | grep -i openssh
2. mod_jk
telnet localhost
GET /x
2. Apache
httpd -v
3. MySQL
mysqadmin -u -p versioninfo
Tuesday, December 8, 2009
Thursday, May 21, 2009
Thursday, May 7, 2009
Thursday, March 26, 2009
Find files created yesterday or before.
# create a file that has a timestamp of just after midnight today
touch -t `date +"%Y%m%d"0001.01` /tmp/just_after_midnight_today
# find files older than today
find /path/to/dir/ -maxdepth 1 ! -newer /tmp/just_after_midnight_today
touch -t `date +"%Y%m%d"0001.01` /tmp/just_after_midnight_today
# find files older than today
find /path/to/dir/ -maxdepth 1 ! -newer /tmp/just_after_midnight_today
Subscribe to:
Posts (Atom)