Linux and UNIX fc and history command information
# history (show command history list)
# fc -l (show command history list)
# !40 or !grep