LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   BASH 2000 (windoze 2000 that is), or how i fell in love with the atomic bomb (https://www.linuxquestions.org/questions/general-10/bash-2000-windoze-2000-that-is-or-how-i-fell-in-love-with-the-atomic-bomb-301666/)

soylentgreen 03-14-2005 07:51 PM

BASH 2000 (windoze 2000 that is), or how i fell in love with the atomic bomb
 
k.. so im sitting here at work.. win2k.. in a
Code:

cmd
window.. and i accidentally did
Code:

ls
instead ov
Code:

dir
it worked.. neat.

so i was like.. hrm.. what about
Code:

ls -l
yup..

how about
Code:

ls -l|grep log
roger that

so i got crazy.. did..
Code:

cat super.log|grep xyz
and some
Code:

chmod g+w super.log
and it all worked...

so who let M$ into the BASH barn, and why didn't anyone tell me!?

stupid, i know.. just found it interesting.

scuzzman 03-14-2005 10:48 PM

Code:

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

H:\>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.

H:\>chmod
'chmod' is not recognized as an internal or external command,
operable program or batch file.

H:\>grep
'grep' is not recognized as an internal or external command,
operable program or batch file.

H:\>ls -l
'ls' is not recognized as an internal or external command,
operable program or batch file.

H:\>echo doesnt seem to be working for me
doesnt seem to be working for me

H:\>


frob23 03-14-2005 11:23 PM

It is likely your work requires some software which expects a Unix-type environment. So you probably have cygwin or its equivalent installed.

None of those things would work on a stock Win2k install (as pointed out before this post).


All times are GMT -5. The time now is 01:08 AM.