开源文档分享

PRINTENV

Section: 用户命令 (1)
Updated: 2022年9月
查看本页索引 返回目录
 

名称

printenv - 显示全部或部分环境变量  

概述

printenv [,选项/]... [,变量/]...  

描述

显示指定环境变量的值。如果没有指定变量,则显示所有配对的变量名称与值。

-0, --null
使每行输出以 NUL 字符结束,不添加换行符
--help
显示此帮助信息并退出
--version
显示版本信息并退出

注意:您的 shell 可能内置了自己的 printenv 程序版本,它通常会覆盖这里所提及的相应版本。请查阅您的 shell 文档获知它所支持的选项。  

作者

由 David MacKenzie 和 Richard Mlynarik 编写。  

报告错误

GNU coreutils 的在线帮助: <https://www.gnu.org/software/coreutils/>
请向 <https://translationproject.org/team/zh_CN.html> 报告翻译错误。  

版权

Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.  

参见

完整文档请见: <https://www.gnu.org/software/coreutils/printenv>
或者在本地使用: info '(coreutils) printenv invocation'  
本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh


 

Index

名称
概述
描述
作者
报告错误
版权
参见

This document was created by man2html, using the manual pages.
Time: 03:15:03 GMT, July 01, 2024