Friday, February 20, 2009

Tab shortcuts with bash

"2T" means Press TAB twice

$ 2T - All available commands(common)
$ (string)2T - All available commands starting with (string)
$ /2T - Entire directory structure including Hidden one
$ .2T - Only Sub Dirs inside including Hidden one
$ *2T - Only Sub Dirs inside without Hidden one
$ ~2T - All tresent users on system from "/etc/passwd"
$ $2T - All sys variables
$ @2T - Entries from "/etc/hosts"
$ =2T - Output like "echo *"

No comments: