views:

2438

answers:

8

I'm just a student and I'm learning ShellScript in my college. In college lab, our ma'am just asked to enter and IP in PUTTY and launch it, open vi editor and do programming. How do I do it at home? I run XP on my computer.

I tried asking her, but God bless her, she doesn't even know the syntax of if ... else and she came to teach us.

Hope you'll tell me something useful.

+2  A: 

I suggest you install cygwin at home.

krosenvold
A: 

You should look at cygwin, install it on you host with relevant utilites and try it.

kal
I missed the earlier post in matter of seconds I suppose :)
kal
A: 

YOu can use Xemacs for window and respective windows packages.

A: 

However i feel Cygwin is the most appropriate solution. You can also go with MKSTool Kit but this toolkit is not free.

A: 

Have you tried using putty on your own computer and using the ip address she gave you? Depending on how the network is set up you might be able to use it that way. Cygwin is good but if you need to do Linux specific stuff look at Wubi

Jared
A: 

You can install Cygwin on your home computer. It is a port of many Unix tools to windows, so you can work in unix-style on your windows computer.

Or you can connect to the school computer from home using Putty just like you did it at school (provided that the computer is accessible from the outside). Then you'll have the same environment accessible from home, including the files you work on.

Roman Plášil
A: 

Would running a version of Linux from a DVD do the trick for you?

You can download a disk image of Knoppix Linux from their web site http://www.knoppix.net/

and burn it to a DVD. You can then reboot the computer and run Knoppix from the DVD without changing anything on your computer.

JayG
A: 

I'd hate to pass judgement on a course I'm not taking, but it sounds like you might not get the entire story about shell scripting, based on your description.

As others have suggested, Cygwin is the way to go, it's excellent. Here's a nice how-to for bash. I'd avoid tcsh or any other version of the c shell (there be monsters).

If you end up needing to do something more advanced, bash can be cumbersome. You should consider a general purpose language, such as python, which is also available in cygwin, or as a stand-alone windows installer. For process control, though, bash is king.

TokenMacGuy