I've been getting acquainted with msfconsole and learning commands. I see that grep ( https://www.offensive-security.com/metasploit-unleashed/msfconsole-commands/ ) is one of its commands, but i can't find any examples of usage. Does anyone know the format to grep the output of commands?
Also, is redirection(output, err, pipe) of msfconsole commans possible? I see that it is for the linux commands in the console window