Example: to get system date for n minute ago in format like „26-Aug-2013 11:04“ , can write:
date +’%d-%b-%Y %H:%M‘ -d ‚1 minute ago‘
if [];
then
do sth.
fi
Example: to get system date for n minute ago in format like „26-Aug-2013 11:04“ , can write:
date +’%d-%b-%Y %H:%M‘ -d ‚1 minute ago‘
if [];
then
do sth.
fi
Last week worked my old DWL-810+ Wlan Bridge (cost 60 EUR 6 years ago ) not any more. Yesterday I bought a DIR-615 H1 W-Lan Route for 15 EUR. Today I refresh the firmware with DD-WRT v24 PreSP2 Build 21061and set it as a Repeater-Bridege. It work fine.
Link: http://www.dd-wrt.com/
Firmware: http://www.dd-wrt.com/routerdb/de/download/D-Link/DIR-615/H1/H2/dlink-dir615h-factory-webflash.bin/3974
Wiki about config as Repeater-Bridge: http://www.dd-wrt.com/wiki/index.php/Repeater_Bridge
if you want to sort a colum not with the standard up/ down order, you can use FIND_IN_SET in ORDER BY.
The functzion Find_in_set:
SELECT FROM FIND_IN_SET(„b“, „a,b,c“)
Just return 2, the position where matched.
Use in ODER BY Example:
SELECT * FROM Product
WHERE id IN ( 6,5,4)
ORDER BY FIND_IN_SET(id, „6,5,4“)