Taking Command of Command Line-2
Opening command prompt on the Mac Finder.
As usual go to launchpad search for terminal click on it Terminal appears or press Command + Space to spotlight search and type terminal press enter.
Bingo terminal Appears.
Sometime we need to open the terminal form the directory we are in for that
System Preferences —> Keyboard —> Shortcuts —> Services —>New Terminal tab at the folder.
This will give you the flexibility to open a terminal from the folder you have to open the terminal.
To open terminal from the respective folder/directory go to Finder —> Select Services —> select the terminal window here.
Opening Command prompt on Window Explorer.
This is a very easy go to Start —> Search for cmd press enter commas prompt appears.
To open the command prompt form the certain folder .
Go to the folder you want open the command prompt click on file —> select the option Open the command Prompt From the directory you are in.
The command prompt with the directory you are in opens.
Drag and Drop
For Mac
Now if you want enter the path of the file or to change the folder from one one directory to other we use cd command
By using cd and the dragging your folder directly to the terminal the path of the folder will be drawn in front of cd command
This will be similar in windows to just drag and drop the file or a folder to the command prompt if you need the path of those directory or a file.
We just nearly just scratch the surface .Here we discuss both Linux like system (Cygwin or Git),Mac and Windows
Comments
Post a Comment