Specific man page for shell built-in commands like 'source'

笑着哭i 提交于 2019-11-28 01:49:39

问题


If you execute any of the following in the command line

man source 
man readonly
man suspend
...

The output is the same manpage describing shell built-in commands in general.

I've searched for 'source' on line and I've found this more specific documentation:

Linux / Unix Command: source

Command Library NAME

source - Evaluate a file or resource as a Tcl script
SYNOPSIS

source fileName source -rsrc resourceName ?fileName?

source -rsrcid resourceId ?fileName?

How can I output something similar in my terminal?


回答1:


Try doing this in a shell :

help source


来源:https://stackoverflow.com/questions/13400238/specific-man-page-for-shell-built-in-commands-like-source

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!