Nohup - Run a Command Even Once your Shell is Closed

Remote server - source http://www.sxc.hu/photo/869240

Oftentimes you'll be in a situation where you want to run a command on a remote machine that will take a long time to complete, but you want to be able to issue the command and then log off and have that command run in the background.

There are many ways you could achieve this, perhaps by using cron or at to schedule the command to run right away ...

Click through to read more...

Count Lines of Code with Cloc

While it might seem a little of a mundane task, counting the lines of code in your programming projects can be a useful thing to do, and provides you with interesting statistics.

Cloc is a Perl script written to allow you to do just that. Download the script, and then from a command line, you simply pass it a directory of source code, or a single file if you wish ...

Click through to read more...

Using SSH as an Ad-Hoc VPN

Laptop - source http://www.sxc.hu/photo/888008

Many of us have been in this scenario - you're on the move, using a random WiFi connection that you can get. You want to browse around to all your favourite sites, including ones where you log in over normal HTTP, but you're not entirely convinced of the security of the connection, so you don't.

If you have access to pretty much any server running SSH where you ...

Click through to read more...

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. ...
  7. Go to