in reply to Help me to run linux command in windows

I installed cygwin and activeperl

Since you have cygwin, you could just run 'ls' in cygwin's bash shell ... and use cygwin's perl (in the same shell) instead of ActivePerl.

But if you want to use ActivePerl, and still be able to run 'ls', then just add C:\cygwin\bin to the end of the path environment variable. (That's assuming you've installed Cygwin into C:\cygwin - otherwise amend accordingly.)

Cheers,
Rob
  • Comment on Re: Help me to run linux command in windows

Replies are listed 'Best First'.
Re^2: Help me to run linux command in windows
by powersakthi (Initiate) on Aug 27, 2007 at 10:42 UTC
    Hi All, Many thanks!! What i did is adding the cygwin bin to the path variable so ls started working and my coding has succedded.........Thanks!!!