Command line snippet of the week: 3

Wouldn’t it be nice to check if a program is running? You can do that and make it start conditionally if it isn’t running. Very handy for service daemons that always need to be running. Can be used with cron as well:

ps -C servicedaemon || { servicedaemon & }

Replace servicedaemon with your own process that needs to be checked. The second servicedaemon value describes what program it needs to start if it’s not running.

divider

Command line snippet of the week: 2

The snippet this week will be about copying arguments without retyping everything. It would be easier to show you how this works:

$ cd /home/user/flx
cd: /home/user/flx: No such file or directory
$ mkdir !*
mkdir /home/user/flx

By using !* it repeats all arguments previously used. If you only want to use the second argument for example, you use !:2.

divider

BackTrack 4 Final Release

One of the more popular pentest distro’s just got updated to version 4.

BackTrack 4 (codenamed “pwnsauce”) is based on Debian includes a new kernel, a larger and expanded toolset repository, custom tools that you can only find on BackTrack, and more importantly, fixes to most major bugs that we knew of.

Direct Link
Torrent

divider