cli-tips
is a command-line tool offering useful Linux tips and commands, which can be integrated as a Message of the Day (MOTD).
- Displays helpful Linux command tips
- Easy to install and use
To install cli-tips
, run the following command:
curl -sL https://bit.ly/cli-tips-installer | bash
To uninstall cli-tips
, run the following command:
sudo rm -rf ${PREFIX:-/usr$([ "$(uname)" = "Darwin" ] && echo "/local")}/{bin,share}/cli-tips && hash -r
βΉοΈ Note:
If you want to remove this tool from Termux, run the above command without
sudo
.
For Nix the package manager, the package name is cli-tips
. You should consult the Nix manual
on how to properly install packages.
Linux | Termux | macOS | Windows (on msys shell) |
---|---|---|---|
β | β | β | β |
To print a random tip, run:
cli-tips
# Output:
# Use 'uniq' to remove duplicate lines from a file
To display a random tip containing a specific keyword, use the --about
option:
cli-tips --about=git
# Output: Use 'git status' to check the status of your git repository
If no tips contain the specified keyword, no tip will be output.
This project is fully free and you can do anything you want with it, even without mentioning this repository or license. Enjoy! π
If you like this project, consider supporting it by starring β it on GitHub, sharing it with your friends, or buying me a coffee β
We welcome contributions from everyone. If you would like to contribute, please read our CONTRIBUTING.md