Execute a command with a timeout

Image via Wikipedia Execute a command with a timeout 1 timelimit -t100 somecommand I found this in Ubuntu repos, and consider…

Continue Reading →

write the output of a command to /var/log/user.log… each line will contain $USER, making this easy to grep for.

write the output of a command to /var/log/user.log… each line will contain $USER, making this easy to grep for. 1 log()…

Continue Reading →

Empty a file

Image via Wikipedia This one is for those who know the “touch” command. Hope all of us do not follow…

Continue Reading →