regex в сценарии оболочки

# command Specific 
$ ls *
$ cp [a-z]* dest_dir/
$ cp [!a-z]* dest_dir/

# Grep
$ grep '^[h-k]' log.txt 
$ grep e$ log.txt #line end with 'e'
$ grep ^http log.txt #line begin with http

Vel