Showing posts with label CMD. Show all posts
Showing posts with label CMD. Show all posts

We all love to have quite a bit of flexibility with the machines we work on. One such thing I love is to have access to both Windows and Linux on the same system. By this, I do not necessarily mean having both operating systems running on the machine. To experience the charm of Windows on Linux, we may use Wine and similarly, to experience the charm of Linux on Windows we may use a program like Cygwin.
In this article, I will guide you on how to use Linux commands from your Windows command prompt to make you have much more flexibility.

First Things First

In order to make this happen, you need to download and install an interface like Cygwin on your machine. During installation, you will be prompted to enter the root folder. Be careful with your choice, as this becomes your root folder with the Cygwin interface.Before we proceed to the command prompt, you may launch Cygwin and get a feel for it. The interface is shown below.
STEP BY STEP:-- 
(download Cygwin )
1. click on install.
2. then install from internet.
3. click on next.
4.  Click on direct connection.

5. Choose any one of them. and click next..


6. Then click on first. unless instal word dont appear.


7. then wait for some time software automaticaly download and install....... after that completion you can enjoy linux .......... :-)


Integrate Cygwin to the Cmd Prompt

In order to make the command prompt understand Linux commands, we need to port Cygwin to cmd prompt. Navigate to the Cygwin root folder that you had selected during its installation. Go to bin folder and copy the location.
Next, open your System Properties dialog box. Go to My Computer, right click and Properties. Go to the advanced tab and find the Environment variables button under it. Hit this button to find a new dialog box appear. This is where you need to configure Cygwin for the command prompt.Select New to create a new environment variable. Give it a name as “CYGWIN” and value as the bin path for the Cygwin root location.After this, select the variable named “Path” and click Edit. Navigate to the end of the variable value and add a new variable as %CYGWIN% after putting a semi colon (;).You are now done and ready to use your command prompt with all the Linux commands.

Look into the Command Prompt

Launch your command prompt and try doing “Path”. You should see something like the image below with the addition of the Cygwin path. If not, something went wrong, and you need to check if you accomplished all steps properly.If all is fine, you will be able to use Linux commands. Try a few simple one’s out and later you may use it to the full extent. I tried commands like ls -l, cat, pwd and chmod. All seemed to work fine.

Conclusion

This is an awesome and interesting way to make Linux commands available on Windows. If you are a programmer or like to work with Linux, you will definitely love it. Not only does it bring a new set of commands but also increases the features of your cmd prompt. Moreover, it is better than just using the Cygwin interface alone.
1250639072811966051
we can change the home page of Internet explorer and firefox using cmd. what it dose is it creates or changes the default value of Start Page in registry to the one you like

Now go to run > type cmd and copy the following code and right click in the command prompt screen and paste it after taht hit enter hit enter. you'll see a message "The operation completed successfully"


REG ADD "HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F


now replace the NAME OF THE SITE whit the one you'd like, ok this command line would change the homepage of internet explorer.
Now to change the homepage of Mozilla Firefox follow the same procedure and use this command line instead


REG ADD "HKCU\SOFTWARE\Mozilla\Firefox\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F


don't forget to replace the NAME OF THE SITE and hit enter done !
and if you are willing to make a batch/cmd file you can use the code given below


@echo off
cls
REG ADD "HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F
REG ADD "HKCU\SOFTWARE\Mozilla\Firefox\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F
exit


and save it with extention .bat for example athul.bat or clickme.bat etc...this will change the home page of both Internet Explorer and Mozilla Firefox in a single click

now you know how to change the home page using cmd let you'r imagination run wild save the batch file in you'r friends start up or in some public computer so that You'r site will be the default homepage and each time someone changes it .it change back to you'r site when it restarts *laugh*

so if you face any problem with the codes don't feel shy to clear it out
and note that the command line for changing the home page for fire fox works for the older versions only
At the command prompt, you enter commands by typing their names followed by options and arguments.Most modern computers use a graphical user interface GUI, which allows users to more intuitively access programs system. At the command prompt, you enter commands by typing their names followed by options and arguments.Most modern computers use a graphical user interface GUI, which allows users to more intuitively.

CMD is a three-letter abbreviation that could mean, depending on context:

A common abbreviation for command (especially used in a computer context)
Canis Major Dwarf - galaxy orbiting the Milky Way.
Cable Mágico Deportes, a Peruvian sports television network
Catastrophe à moyens dépassé (French); "disaster without sufficient rescue means", see Orsec plan
Center for Media and Democracy
Certified Medical Dosimetrist
Chairman/Chairperson and Managing director of a company; a managing director who is also the chairman
Conceptual Data Model, A conceptual schema, or conceptual data model, is a map of concepts and their relationships used when designing databases, for example, a conceptual schema for a karate studio would include abstractions such as student, belt, grading and tournament
Congenital muscular dystrophy
cmd.exe; the command line interpreter for OS/2 and Windows NT-based operating systems, or the CMD files which this interpreter uses
The CMD file, an executable format used by CP/M-86.
Creative Micro Designs; a computer hardware company
California Micro Devices; a manufacturer of integrated circuits
Cincinnati Mighty Ducks; a hockey team
Communication & Multimedia Design; a College Course
Common Metre Divided; a meter used in many hymns
change main device; a computer command
color-magnitude diagram; used in astronomy
The Command key on Apple keyboards
Cmd.xxxx - British government "Command Papers". The Cmd. designation ran from 1919-1956. eg Cmd.3362 is the Report on Health for 1929/1930, but Cmnd.3362 is the British Steel Report 1967.
Camden Road railway station, England; National Rail station code CMD