Enable

来自 ChinaUnix Wiki

Linux命令:enable

功能说明:启动或关闭 shell 内建指令。
语  法:enable [-n][-all][内建指令]
补充说明:若要执行的文件名称与shell内建指令相同,可用enable -n来关闭shell内建指令。若不加-n参数,enable可重新启动关闭的指令。
参  数:
-n  关闭指定的shell内建指令。 
-all  显示shell所有关闭与启动的指令。


英文版本,欢迎翻译:

ABOUT ENABLE, DISABLE

Enables / Disables LP printers.

SYNTAX

enable printer

disable [-c] [-W] [ -r [ reason ] ] printer

-c Cancel any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option will be silently ignored. -W Wait until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option will be silently ignored. -r reason Assign a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is unknown reason for the existing printer, and new printer for a printer added to the system but not yet enabled. printer The name of the printer to be enabled or disabled. Specify printer using atomic name.


EXAMPLES

enable printit - Enable printer printit.

个主工具