Error 

New Command Aliases

660 views
Posted November 7, 2007 at 05:11am in Linux with tags ,

Here are two new command aliases I added

Directory list with auto grep

user@host:~$ alias lsg="ls | grep $1"
user@host:~$ lsg D
Desktop
Documents
Downloads
ZDE

Directory list with ‘more’

user@host:~$ alias lsm="ls | more"
user@host:~$ lsm
Desktop
......
Pictures
--More--
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • Twitter


Leave a Reply