> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man1/intro.1.md).

# intro.1

`intro` — 通用命令（工具与实用程序）简介

## 名称

`intro`

## 描述

手册第一节包含构成 FreeBSD 用户环境的大部分命令。系统中第一节收录的命令包括文本编辑器、命令 shell 解释器、搜索与排序工具、文件操作命令、系统状态命令、远程文件复制命令、邮件命令、编译器与编译工具、格式化输出工具以及行式打印机命令。

数以万计的附加命令可通过 [pkg(8)](/man/man8/pkg.8.md) 安装，或通过 ports(7) 集合编译获得。其中包括网页浏览器、办公套件、日历、会议工具、集成开发环境、媒体播放器、音频与视频处理套件等。

所有命令在退出时都会设置一个状态值，可用于检测命令是否正常完成。按照惯例，值 0 表示命令成功完成，而大于 0 的值表示出错。部分命令尝试使用 sysexits(3) 中定义的退出代码来描述失败的性质，其他命令则简单地将状态设置为大于 0 的任意值（通常为 1）。

## 文件

**`/bin/`** 单用户和多用户模式下都必不可少的基本命令。

**`/usr/bin/`** 基础系统附带的通用命令。

**`/usr/local/bin/`** 通过 [pkg(8)](/man/man8/pkg.8.md) 或 ports(7) 本地安装的命令。

## 参见

[apropos(1)](/man/man1/apropos.1.md), [man(1)](/man/man1/man.1.md), which(1), intro(2), intro(3), sysexits(3), intro(4), intro(5), intro(6), intro(7), ports(7), security(7), [intro(8)](/man/man8/intro.8.md), [pkg(8)](/man/man8/pkg.8.md), intro(9)

《UNIX 用户手册补充文档》中的教程。

## 历史

`intro`(1) 手册页首次出现于 Version 6 AT\&T UNIX。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man1/intro.1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
