on January 14, 2009 by Wolf in Open Source, Comments (0)

Linux CLI Keyboard Shortcut for Directory-Contents

Discovered by researcher Gean Huston last week.  The keyboard shortcut “(Alt)/” = “ls -a”  without the color-coding.

Gean was doing a standard Command-line exercise when his finger slipped.  Much to his surprise, the display in the terminal window filled with text.  Upon closer inspection, he discovered that the text was the content of the current directory location.  With careful back-tracking of possible keystroke combinations, he discovered this undocumented shortcut.  

The CLI command ls lists the content of a target folder, similar to the DOS dir command.  ”ls” is actually aliased to “ls with a color-coding option” on most Linuces, so the shortcut Gean found is to the more basic command.  If you already knew about this shortcut, leave me a comment on this message.  This works on Fedora8, and on PuppyLinux.  We haven’t tested it on any other Distros yet.

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

Tags: , , ,

No Comments

Leave a comment

XHTML: Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled