Posted by GirishKumar N S on Mar 4, 2011 in Windows | 1 comment
Is it possible to use linux commands in windows command promt..?
Yes a number of ways are available for this.
You can use Cygwin for this..
Cygwin is an excellent tool that can be install in your windows machine and you can run linux commands from either windows console or Cygwin API.
Cygwin is a little heavy tool because it need to configuring and building most of the available GNU software for UNIX calls.
CoreUtils is an excellent replacement for Cygwin.
CoreUtils is a collection of basic file, shell and text manipulation utilities of the GNU operating system. These are the core utilities which are expected to exist on every OS.
When I talk about File utilities, they include chgrp, chmod, cp, dd, du, ln, ls, mkdir, mv, rm, touch, vdir among others. A sample of the text utilities include cat, cksum, cut, join, md5sum, shasum, sort, split etc.
The shell root commands include echo, chroot, hostname, nice, pathchk, tty, who, whoami and yes su.
Once installed, you will need to add the path to the utilities to your PATH environment variable. Follow the steps below to achieve this
1. Click on Start –> Run and enter sysdm.cpl to bring up the system properties Dialog
2. Click on the Advanced tab –> Environment variables button
3. In the System Variables pane, scroll down to Path and then click on edit.
4. Under Edit System Variable, in the variable value, at the end of the line , type the following including the semicolon which separates the individual elements in the path variable. ;C:\Program Files\GnuWin32\bin
Thats all…. Now you can use windows command prompt as a linux console…………..
Was this answer helpful?
Your email address will not be published. Required fields are marked *
Posted by Shajan Jacob on Feb 5, 2014
Posted by ls_milkyway on May 20, 2013
Posted by Kamau on Mar 22, 2013
Posted by Albin Sebastian on Feb 18, 2013
Posted by jklinglerwcmtd on Jan 11, 2013
Posted by Jeffin Jose on Mar 1, 2011
Posted by Sharun Valsan on May 2, 2011
Posted by Sandeep on Mar 31, 2011
Posted by Jeffin Jose on Apr 9, 2011
Posted by Sajeev Perumpilavil on Mar 1, 2011
Posted by Sandeep on Mar 1, 2011
Posted by Kiran Naikare on Jul 14, 2011
Posted by Aneesh Unnikrishnan on Jun 8, 2011
Designed by Elegant Themes | Powered by WordPress