Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/service/service.8
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | |||||
service named status | service named status | ||||
service -j dns named status | service -j dns named status | ||||
service -rv | service -rv | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
The following programmable completion entry can be used in | The following programmable completion entry can be used in | ||||
.Xr csh 1 | .Xr csh 1 | ||||
for the names and common commands of the rc.d scripts: | for the names and common commands of the rc.d scripts: | ||||
.Dl "complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e" | .Bd -literal -offset indent | ||||
.Dl " 'n/*/(start stop reload restart \e" | complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e | ||||
.Dl " status rcvar onestart onestop)/'" | 'n/*/(start stop reload restart \e | ||||
status rcvar onestart onestop)/' | |||||
.Ed | |||||
.Pp | .Pp | ||||
The following programmable completion entry can be use in | The following programmable completion entry can be use in | ||||
.Xr bash 1 | .Xr bash 1 | ||||
for the names of the rc.d scripts: | for the names of the rc.d scripts: | ||||
.Bd -literal -offset -ident | .Bd -literal -offset -ident | ||||
_service () { | _service () { | ||||
local cur | local cur | ||||
cur=${COMP_WORDS[COMP_CWORD]} | cur=${COMP_WORDS[COMP_CWORD]} | ||||
Show All 19 Lines |