Main Contents

Locate a file, then cd to the location of that file

December 14, 2011

Sometimes the hardest part of improving your productivity is being able to notice that you’re doing something sub-optimal multiple times each day. I was sitting hacking on some documents this morning when I realized that I frequently follow this usage pattern: Locate a file, using the locate command—often a Linux configuration file of some sort. [...]

Filed under: Linux, System administration | Comments (0)