Skip to content

Comment on Time-saving tips for Linux

Comments

If you are halfway through typing a command but change your mind, hit Ctrl-A, add a # at the beginning to make it a comment, and press enter. You can then return to it later via command history.

A faster way would be to hit Alt-# (does the same thing with just one key combo).

ctrl-u/ctrl-y is good if you only want to do that for one thing at a time.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.