thestoicattack's comments

thestoicattack | 1 year ago | on: Entering text in the terminal is complicated

> the readline keybindings come from Emacs

> Because I’m a vim user, It took me a very long time to understand where these keybindings come from

libreadline supports a basic vi mode. In bash, `set -o vi` lets you use vim-style editing. It is a lifesaver.

thestoicattack | 4 years ago | on: Linuxgems – A succinct cheat sheet for newbie Linux coders and sysadmins

As a note,

    find . -type f -exec grep stuff {} \;
will also invoke a new grep process for every file, which can be slow. If you think find is going to return a lot of files, it is often better to use

    find . -type f -exec grep stuff {} +  # note plus sign
which will replace {} with as many filenames as allowed (all correctly quoted, etc).
page 1