I know some commands “I learned from Ubuntu Linux and I like to use commands in Windows XP.Posso use Ubuntu Linux on Windows XP? Thanks
Tags: Commands, Linux, ubuntu, Windows
This entry was posted
on Monday, June 28th, 2010 at 5:43 pm and is filed under Linux Commands.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Only few commands work…
No. Ubuntu uses the BASH command prompt environment while Windows uses an emulated DOS environment, they’re not compatible.
However, you can always install something like cygwin in Windows XP (Free) that’ll give you a linux-like bash prompt to use.
You can install Cygwin to get a basic UNIX-like environment on Windows:
http://cygwin.com/
This includes the bash shell and the usual tools like awk and sed.
Ok. You picked up on some of the commands. Do you REALLY know what those commands do? I mean, be honest…
Because first off, do you think those commands are just instructions that you told this “linux” thing to do? They aren’t. Those commands are programs and command line parameters.
Take for example… ping. There’s a nice windows one. GO ahead and click start, run, type CMD and hit enter.
From the command prompt type ping http://www.google.com
do you think you just told windows to “ping” something? I hope you do not think that… because what you actually did was call up the PING program, and pass to it the parameter of “www.google.com”. If you searched and deleted the ping program from your computer, then ping would not work anymore. You would get the response “bad command or file name”
So go ahead and try your linux commands. Don’t be surprised when you get “bad command or file name” as the response. At least now you will hopefully understand what it means if you do.
I guess you can do Cygwin, but it is usually overkill. What I like best is just put a few Unix tools on Windows and use the best of both worlds.
Goto http://downloads.sourceforge.net/unxutils/UnxUtils.zip?modtime=1172730504&big_mirror=0
I just unzip exe’s in archive folders bin and usr/local/wbin/ to the system32