Scripting

Using at

(Set XMMS to play wakeup.ogg at 6am tomorrow morning) % at 6am tomorrow at> xmms ~/music/wakeup.ogg at> job 6 at 2003-10-31 06:00 (At 11:30 pm today, start an install of mozilla) % at 11:30 pm today at> emerge update mozilla at> job 7 at 2003-10-30 23:30 Now there are two jobs scheduled which will be […]

Read More
Linux

someprog > /dev/null 2>&1

The first part, “> /dev/null” means send standard output to the ‘bit bucket” or in other words, throw it away. The second part, “2>&1” means “redirect standard error (2) to the same place as standard outout (1.)

Read More