0

I'm just trying Ubuntu as I'm slowly but surely getting tired of OSX and it's operating systems released every few months with a lot of problems.

One thing that I find quite frustrating when switching to a new system is the shortcuts, which I got used to - especially for Terminal - most of which work similar, but some of them (ones I use the most) differ.

I've seen this post Terminal: Replacing Ctrl+r with Ctrl+k and understand that in order to change shortcut for terminal I need to add it to the ~/.bashrc file in the format:

bind '"\C-k":"\C-r"'

Does anyone know what combination should be used to call reset as a combination of Alt + k (on OSX it works as as Cmd + k, but hence PCs don't have Cmd - Alt is in the same place)?

1 Answers1

0

If by reset, you mean clear the terminal, then in Gnome Terminal, it is CTRL + L .

Tshilidzi Mudau
  • 4,143
  • 3
  • 24
  • 32
Progrock
  • 476
  • 2
  • 8
  • Thanks @Progrock - it's not just `clear` - it's actually `reset` that I'm after - on OSX it's `Cmd + k` - it resets the session - difference being with `clear` only clearing window, but if you scroll up - you'll still see previous commands, while `reset` wipes them out. – Sebastian Sulinski Nov 25 '15 at 16:28
  • Oh, you want to set a shortcut for **reset**, try this: http://askubuntu.com/questions/25077/how-to-really-clear-the-terminal – Progrock Nov 26 '15 at 17:38