Re: *nix commands on windows

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: James Mcphee
Date:  
To: michael, Main PLUG discussion list
Subject: Re: *nix commands on windows
Same. When stuck on windows for whatever reason and a linux VM isn't an
option (or when I have to run windows as core) I use cygwin. It's not
perfect, and isn't a replacement, but many of the tools are available
through cygwin so that I'm not completely lost trying to get a cmd window
to pipe things.

On Wed, Mar 14, 2012 at 10:15 PM, Michael Butash <> wrote:

> Agreed, I use it when I'm stuck using a corporate mandated windoze laptop
> or servers for win-only apps. I've found it quite helpful in that
> circumstance, even to the point I'd keep it on a default win server image I
> deploy out via template. That was about the time I switched to linux
> full-time and never looked back.
>
> -mb
>
>
>
> On 03/14/2012 06:35 PM, wrote:
>
>> I personally support Cygwin and (to a point) like it, but I don't ever
>> use it unless I have NO OTHER POSSIBLE OPTION whatsoever...
>> For example, for some reason my Linux box quit connecting to my daytime
>> job VPN and I installed a SSH server using Cygwin so I can create a
>> reverse tunnel and access the AIX server and Linux boxes I actually do
>> stuff with.
>> ET
>>
>>
>> Michael Butash writes:
>>
>>> Cygwin won't give you ifconfig or ip tools (didn't years back at
>>> least), it'll still be "ipconfig /all"
>>> Look at the subnet mask there, should be 255.255.255.0. If they're all
>>> on the same switch/router, than they're in the same subnet.
>>> Can they ping each other's addresses? layer 3 is good
>>> Telnet to each other on port 445 "telnet 192.168.0.x 445" layer 4 is good
>>> From windoze, "start->run-> type "\\192.168.0.x\" and see if you can
>>> see shares. Try more specifically if you know the share name.
>>> If you want to test from linux back install smbfs packages
>>> (specifically for cifs) and mount as:
>>> mkdir /tmp/cifs
>>> mount -t cifs -o defaults,username=myuser //192.168.0.x/share_name
>>> /tmp/cifs
>>> Layer 5 and up should be good if you can do the last, otherwise figure
>>> out where in between the problem lies. Try in both directions too.
>>> It's more than likely with samba config, not the network. Though I'm
>>> not at all sure what that 5.5.6.1 address was you were looking at...
>>> -mb
>>>
>>> On 03/14/2012 05:10 PM, Michael Havens wrote:
>>>
>>>> well, I figured I would d/l something so if you tell me how to do
>>>> something in *nix I wouldn't have to ask you how to do it in windows. So
>>>> I googled it and found 'cygwin'. so I install it and the first command I
>>>> type in I am DENIED! File not found it says. So what is the best unix
>>>> emulator for windows? 'ip addr show' is the command that wasn't found.
>>>> --
>>>> :-)~MIKE~(-:
>>>>
>>>> ------------------------------**---------------------
>>>> PLUG-discuss mailing list - .**phoenix.az.us<>
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>>>
>>> ------------------------------**---------------------
>>> PLUG-discuss mailing list - .**phoenix.az.us<>
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>>
>>
>>
>> ------------------------------**---------------------
> PLUG-discuss mailing list - .**phoenix.az.us<>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>




--
James McPhee

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss