第 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

Procedure

  • Use the c command, 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"
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部