Bash tip: Instant Spelling Suggestions

terminal.png

Looking to reject the GUI life altogether and restrict yourself to the command line like a real Unix geek? Great! But as soon as you miss the OOo spellchecker, don’t fret: most Linux systems come with the look command built-in, which is a command-line spellchecker. To get started, type look followed by part of a word:

look separ

should show you matches like “separate”, “separately”, and so on, whereas entering:

look seper

will show nothing, because “seperate” is a mis-spelling.  Also, instead of simply entering the command you can use tab completion for look to display a list of possible options.

Related Posts

Comments are closed.