Terminal and directories

There are some tasks which are fast and easy to handle within the terminal console. I do not use this quite often, but sometimes when I want to run a self written script.

Because I am as lazy as most people, I do not want to type much. The console helps you out a lot with that. Just type the first letters and hit tab to autocomplete the name.

But what, if you did a download and want to run a included script from the extracted directory? Then you have to use the cd command (change directory) for every directory as long as you reached the target path. Use the magic and just type “cd ” (with a blank after cd). Next, drop the little folder icon from the finder’s window title bar to the console window to have the full path in the terminal session.

Terminal with drag and drop

Terminal with drag and drop

This entry was posted in Coole Mac OS X Tricks and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>