One of the nicest facilities of the modern shell is the built in "completion" support.
These facilities allow you to complete commands and their arguments easily.
Read on for a brief introduction to adding your own command completions.
Most shells allow command completion, typically bound to the TAB
key, which allow you to complete the names of commands stored upon your PATH
, file names, or directory names.
This is typically used like so:
`ls /bo[TAB]`
When you press the TAB
key the argument /bo
is automatically replaced with the value /boot
.
- Install hdparm tool