Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

💡 CLI tool that provides useful tips and commands for Linux users

License

NotificationsYou must be signed in to change notification settings

cli-stuff/cli-tips

Repository files navigation

CLI Tips Banner

cli-tips is a command-line tool offering useful Linux tips and commands, which can be integrated as aMessage of the Day (MOTD).

✨ Features

  • Displays helpful Linux command tips
  • Supports multiple languages
  • Easy to install and use

📥 Installation

To installcli-tips, run the following command:

curl -sL https://bit.ly/cli-tips-installer| bash

🗑️ Uninstall

To uninstallcli-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 fromTermux, run the above command withoutsudo.

❄️ Nix

For Nix the package manager, the package name iscli-tips. You should consultthe Nix manualon how to properly install packages.

Compatibility table

Linux logo
Linux
Termux logo
Termux
macOS logomacOS logo
macOS
Windows logo
Windows (onmsys shell)

🚀 Usage

To print a random tip, run:

cli-tips# Output:# Use 'uniq' to remove duplicate lines from a file

Note

cli-tips automatically detects the user's language and displays tips in that language. You can also set the language manually using theLANG environment variable.

Use Another Language

To display tips in a different language, use the--lang option:

cli-tips --lang=uk# Output: Використовуйте 'uniq', щоб видалити дубльовані рядки з файлу

You can also use theLANG environment variable:

LANG=de cli-tips# Output: Verwenden Sie 'uniq', um doppelte Zeilen aus einer Datei zu entfernen

Use the--about Flag

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.

Available Languages

Here is a list of all available languages:

LanguageCode
🇸🇦 Arabicar
🇨🇳 Chinesecn
🇩🇪 Germande
🇬🇧 Englishen
🇮🇷 Farsifa
🇮🇹 Italianit
🇯🇵 Japaneseja
🇰🇷 Koreanko
🇵🇱 Polishpl
🇪🇸 Spanishes
🇺🇦 Ukrainianuk

📝 License

This project is fully free and you can do anything you want with it, even without mentioning this repository or license. Enjoy! 🚀

❤️ Support

If you like this project, consider supporting it by starring ⭐ it on GitHub, sharing it with your friends, orbuying me a coffee ☕

🤝 Contributing

We welcome contributions from everyone. If you would like to contribute, please read ourCONTRIBUTING.md file for detailed instructions on how to add translations and other contributions.

About

💡 CLI tool that provides useful tips and commands for Linux users

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp