Please follow the instructions to install Cygwin software and run UNIX commands in Windows machine without any additional Linux system required:
click this link to download cygwin
https://www.cygwin.com/
click this link to download cygwin
https://www.cygwin.com/
Make sure you are downloading the appropriate version based on your operating system. (Check your system is either 64 bit operating system or 32 bit operating system). I have downloaded 64 bit because my operating system is 64 bit. You can check your operating system by Start->Right Click on Computer->Select Properties.
2) Once setup.exe file gets downloaded, double click on .exe file to initiate the installation process.
3) Click on Next button to proceed installation.
4) Leave the default option selected as Install from Internet and click on Next.
5) Leave the default name Root Directory and click on Next.
6) Click on Next.
7) Click on Next again.
8) Select any download mirror and click on Next.
Similarly keep on clicking next until you get this screen-
9) It will take a little long time to download and install so please keep patient. After successfully installation, go to your desktop and double click on icon-
Or Go to Start and click on Cygwin64 Terminal option.
10) Once you double click you will see the Cygwin window looks similar as Windows command prompt.
On this window also you can write UNIX commands and execute. But using this window you can’t update or access any file. So might be it’s not much useful here.
To perform other additional operation and to work on normal Windows command prompt we need to set Cygwin path.
Please follow the process to set the Cygwin path to work on normal Windows command prompt.
1) Go to Start and Right Click on Computer and Select properties.
2) Click on Advanced system settings shown on left side.
3) Click on Advanced tab and then Environment Variables button.
4) Under system variables select Path and then click on Edit button.
5) In variable value at the end add ;C:\cygwin64\bin\
6) Click OK and close all the windows opened.
Open your windows command prompt and type any LINUX command. I have typed here “echo” and got the result ECHO is on. Wow it works!
Now you have successfully set the path and ready to run UNIX commands in Windows default command prompt.
Hope you are happy with running LINUX commands in the Windows machine.
No comments:
Post a Comment