Home » Tech

Integrating some Linux commands into XP CLI

26 June 2009 No Comment

<!– /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:”"; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”; mso-fareast-font-family:”Times New Roman”;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} –>

This is just sweet. I’ve been some what a avid Ubuntu user for approximately a year and half now and I’m a bit comfortable using the bash CLI. Ever since I gotten my Mac and started working, I haven’t been up to date with some of the commands. Well, after some digging, I was pretty stoked on getting sftp working in XP’s CLI without the use of WinSCP. The same goes for ssh, ssh tunneling, and even ssh proxy with Putty.

Ok, first off, ITeF!x has almost all the tools one would need to accomplish this. What I would recommend is to pick up both CopSSH and cwRsync. With CopSSH, once installed, make a copy of the ‘bin’ folder and uninstall it. The bin folder contains some of the most useful Linux tools one can use.

Next, install cwRsync and copy over the files from the bin folder into its own bin folder. I would recommend to either hand pick certain items out or just copy the ones that look most important.

Ok, so instead of doing this whole convoluted setup I had going. It is actually best to download Cygwin and follow this site: http://erikjheels.com/?p=470

I can’t believe it was that easy to run cygwin. This whole time I’ve been looking for a way to do this and it was just that simple.

Now I feel right at home with my integration setup. I can not only utilize ssh and sftp, but also a slue of other commands that I was use to using in Ubuntu. Heck, I can even install several of other stuff in cygwin like kde and a whole variety of different packages.

To test this out once the setup is complete (including the modification of the environment variable), go to the run command type in ‘cmd’ (without the quotes) and use a simple ls command. Try it out with this also ‘ls –color=auto’. Isn’t that hot? One can see the difference between files and folders. To make it even more interesting, give this command a try ‘ls –al –color=auto’. OOooo, pretty.

Digg!

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Spam Protection by WP-SpamFree