I'm trying to type a terminal command that calls for an "accent grave" (`) character. I'm running Ubuntu with a US keyboard, and I can't find how to type this. I see lots of talk about using alt codes with num lock on, but I've never done that and can't seem to get that trick to work at all. I'd rather not do that anyway, if there's any more direct way to do it. Any suggestions?
The string I'm trying to type is
dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | grep -E "(image|headers)" | xargs sudo apt-get -y purge
It's a suggestion for removing old kernels from /boot. I ran out of space for updates, and though I plan to try to enlarge /boot, I figure this is good to do anyway.
Or is there another character on a US keyboard that will function as a substitute for the accent grave? I confess I don't really understand the command, I'm just trying to replicate the string and see if it works for me.
Thanks for any help!
sudo apt-get autoremove
should be enough for 14.04+ installs.