# Grepping for words clear cat sth grep all sth grep '\' sth grep 'dow\>' sth grep '\<.\>' sth # Using * grep 'Z*' md grep '^[^ ]* [^ ]*$' greptest grep '\.0*$' greptest grep '0.*0' greptest # Using \{ grep '\<[a-z]\{5\}\>' greptest grep '\<[A-Za-z]\{5\}\>' greptest grep '\<[A-Za-z]\{5,\}\>' greptest # Making sure the file name prints out grep '\' sth grep '\' sth /dev/null