News Score: Score the News, Sort the News, Rewrite the Headlines

Ask HN: What are your favorite one-liner shell commands you use?

Not really a shell one liner, but ctrl+r (a readline command to do an incremental search backwards through history) is something that has been present on every shell I've used for decades without realising it, One day I decided to take the time to read all the magic readline commands because I wanted a way to quickly edit the N-th argument of a command with lots of arguments, and there were way too many of them. There were so many commands that I had no hope of remembering them all, but I figure...

Read more at news.ycombinator.com

© News Score  score the news, sort the news, rewrite the headlines