第 5 章 Using the command-line assistant powered by RHEL Lightspeed on RHEL systems
The command-line assistant powered by RHEL Lightspeed can help you to interact with and find information about RHEL by using the command-line interface. Use the command-line assistant to answer RHEL-related questions, troubleshooting, interpreting log entries, and many other tasks.
Do not rely on the results from AI tools without human review. Always check the AI and LLM-generated responses for accuracy before using the generated suggestions.
5.1. Consulting the command-line assistant 复制链接链接已复制到粘贴板!
To use the command-line assistant powered by RHEL Lightspeed, use the c command followed by your questions in quotation marks.
Do not enter the following types of data when using the command-line assistant, because the assistant is not intended to process data such as:
- Personal information
- Business-sensitive information
- Confidential information
- System data information
Prerequisites
- You have installed the command-line assistant powered by RHEL Lightspeed. See the Installing the command-line assistant powered by RHEL Lightspeed documentation.
Procedure
Use the
ccommand, followed by your questions in quotation marks. The following are examples of prompts that you can use to interact with the command-line assistant when using your RHEL system:Ask a data-based question:
$ c "What is RHEL"Request information on how to troubleshoot a problem with SSHD:
$ c "how to troubleshoot sshd failing to start"Request information on how to find files under
/etc:$ c "how do I find all the files in the /etc/ that have been modified in the last hour"