More Special Keybindings

Here “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 Present Users on system from "/etc/passwd"
$ $2T - All Sys variables
$ @2T - Entries from "/etc/hosts"
$ =2T - Output like ls or dir
Esc-Del Delete previous word (may not work, instead try Esc followed by Backspace)!! - run lastcommand!blah – run the most recent command that starts with ‘blah’ (e.g. !ls)!blah:p – print out the command that !blah would run (also adds it as the latest commandin the commandhistory)!$ – the last word of the previous command(same as Alt + .)!$:p – print out the word that !$ would substitute
!* – the previous command except for the last word (e.g. if you type ‘find some_file.txt /‘, then!* would give you ‘find some_file.txt‘)!*:p – print out what !* would substitute
!n Execute nth commandinhistory!^ First argument of lastcommand
^abc^xyz Replace first occurance of abc with xyz inlastcommand and execute it

Indirect Referance

This is what i come across while writing some simple bash script.
But it seems really usefull. so i am just adding here.

If File Comparision

[-a FILE ] True if FILE exists.
[-b FILE ] True if FILE exists and is a block-special file.
[-c FILE ] True if FILE exists and is a character-special file.
[-d FILE ] True if FILE exists and is a directory.
[-e FILE ] True if FILE exists.
[-f FILE ] True if FILE exists and is a regular file.
[-g FILE ] True if FILE exists and its SGID bit is set.
[-h FILE ] True if FILE exists and is a symbolic link.
[-k FILE ] True if FILE exists and its sticky bit is set.
[-p FILE ] True if FILE exists and is a named pipe (FIFO).
[-r FILE ] True if FILE exists and is readable.
[-s FILE ] True if FILE exists and has a size greater than zero.
[-t FD ] True iffile descriptor FD is open and refers to a terminal.
[-u FILE ] True if FILE exists and its SUID (set user ID) bit is set.
[-w FILE ] True if FILE exists and is writable.
[-x FILE ] True if FILE exists and is executable.
[-O FILE ] True if FILE exists and is owned by the effective user ID.
[-G FILE ] True if FILE exists and is owned by the effective group ID.
[-L FILE ] True if FILE exists and is a symbolic link.
[-N FILE ] True if FILE exists and has been modified since it was last read.
[-S FILE ] True if FILE exists and is a socket.
[ FILE1 -nt FILE2 ] True if FILE1 has been changed more recently than FILE2, or if FILE1 exists and FILE2 does not.
[ FILE1 -ot FILE2 ] True if FILE1 is older than FILE2, or is FILE2 exists and FILE1 does not.
[ FILE1 -ef FILE2 ] True if FILE1 and FILE2 refer to the same device and inode numbers.
[-o OPTIONNAME ] True if shell option "OPTIONNAME" is enabled.
[-z STRING ] True if the length of "STRING" is zero.
[-n STRING ] or [ STRING ] True if the length of "STRING" is non-zero.
[ STRING1 == STRING2 ] True if the strings are equal. "=" may be used instead of "=="for strict POSIX compliance.
[ STRING1 != STRING2 ] True if the strings are not equal.
[ STRING1 < STRING2 ] True if"STRING1" sorts before "STRING2" lexicographically in the current locale.
[ STRING1 > STRING2 ] True if"STRING1" sorts after "STRING2" lexicographically in the current locale.
[ ARG1 OP ARG2 ]"OP" is one of -eq, -ne, -lt, -le, -gt or -ge. These arithmetic binary operators returntrueif"ARG1" is equal to,
not equal to, less than, less than or equal to, greater than,
or greater than or equal to "ARG2", respectively. "ARG1" and "ARG2" are integers.