3 ms·
Isn't it a perfect case for aliases? If you don't remember the particular command, why not to look it up for the first time and then assign personalized alias,
by npmisdown 6y ago
Isn't it a perfect case for aliases?
If you don't remember the particular command, why not to look it up for the first
time and then assign personalized alias, which is easy to remember?
Like with `tar` example and `zsh` you can even define suffix alias (`alias
-s`), so you can just type `./your-file.tgz` and `zsh` will invoke `tar -xzf
./your-file.tgz` or whatever you prefer.
- mxuribe 6y agoFunny, i actually created my own alias which points to http://cheat.sh/ http://cheat.sh/ ...that of course assumes I have an internet connection. Otherwise, fall back to man pages as well as my own directory of text files with reference info on commonly used commands - employing my own examples.