I want to rewrite this function so that it shows only the command name and the arguments without having to specify all those options to awk
function psgrep()
# show process id and command with arguments
ps aux | grep "${1:-.}" | grep -v grep | awk '{print $2, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20}'
}