Command line tip - peek into the start and end of files

Sometimes, especially when dealing with log files, you might want to peek at the start and/or end of a file to see just that bit of the file and not the whole thing. Of course, there are a couple of easy commands that allow you to do this.

The commands are head and tail and work with almost any Unix-like operating system.

As the name suggests, head is for ...

Click through to read more...

Cygwin - bring the Linux command line to Windows

Cygwin logo

Cygwin is a great application. What it allows you to do is bring the command line environment and many commands from the Linux world onto a Windows machine. If you have no choice but to use a Windows-based computer, yet you wish to have the power and flexibility of a Unix system, then Cygwin is for you.

Technically speaking, Cygwin is:

  • A DLL (cygwin1.dll) which acts as a Linux ...

Click through to read more...

Use scp to securely transfer files

OpenSSH is a great tool for remotely logging in to other computers in a secure manner and then being able to use them from anywhere around the world. What the ssh command doesn't offer you normally however is a way to securely transfer files between your local machine and the remote machine.

That's where scp comes in. It stands for Secure Copy and piggybacks off the SSH infrastructure ...

Click through to read more...

  1. 1
  2. ...
  3. 15
  4. 16
  5. 17
  6. 18
  7. 19
  8. ...
  9. Go to