CLI Magic: A little script to customize directory listings

Posted by Scott_Ruecker on Dec 11, 2007 11:28 AM EDT
Linux.com; By Sergio Gonzalez Duran
Mail this story
Print this story

Sometimes when I run ls to get a directory listing, I am looking for a specific file, but I want to see the whole context where the file resides. While you can pipe the output of ls to grep, that doesn't show you the whole directory with the matched files highlighted in a different color. I create a small script to do just what I want.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.