Hacker News new | ask | show | jobs
by SkippyZA 4905 days ago
Ctrl+l is my most used command. I need a clean terminal
6 comments

Huh. I've always just called "clear".
Same here; and love that it doesn't clear the command line you're currently typing.

Does anyone know if there's a key command for clearing the scroll buffer?

Does anybody know if there is a command for creating an infinite stream of the character "y" + carriage return ?
yes(1).
I second this, I also find myself impulsively smashing enter multiple times sometimes between commands, if I am typing in a series of commands, its just so my brain can catch up with what I want to do.
Nice

Ctrl+D for quick logout too.

Cmd + K on the OS X Terminal.
That's gold. I've been using "clear" this whole time and hated it, particularly since I'm used to "cls" from MS-DOS. So, for me, the way to clear the screen was:

cls <enter> clear<enter>

lol.

I see Cmd + K on the menu now, but I guess I wasn't curious enough to poke around. Thanks a bunch.

didn't know this hotkey existed.. nice