Friday, January 30, 2015

A couple of little tricks that make me happy

1.  You can drag and drop a folder onto your terminal to get it's path.  This is shown here on a Mac (from a blog I just read) but I just tested it on my Ubuntu/Unity 14.04 and it worked nicely. 


2. If you want to get back to the directory where you just were, type
$cd -

Finally, one other cool thing: the commands that you use to get around on the command line (CTR-a to go to the beginning, CTR-w to erase the word left of our cursor, etc) work in iPython as well.

No comments:

Post a Comment