Archive

Posts Tagged ‘linux’

For Cyberduck SFTP == SCP

March 2nd, 2010 1 comment

If you need to copy files from your Mac to a Linux Host using SCP, Cyberduck will let you do that, even though SCP is not listed in the protocol list. Just select SFTP from the protocol list, and your regular Linux login credentials (or public key file) and you should get in.

Categories: Uncategorized Tags: ,

Use Cygwin to count the lines in a text file on Windows.

September 24th, 2009 No comments

You can quickly count the lines in text file on a Linux (or other *nix based system) with this command

wc -l < filename

(Of course, you need to substitute the filename with your filename.

Need to do this on a WIndows system? Download cygwin and you can issue the same command from the cygwin command line.  The only trick to cygwin is to remember that your root directory (C:\ on most Windows systems) is /cygdrive/c. Then the directory structure is the same from there.

Categories: linux Tags: , ,