In linux, the [...] command runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /
Answer
service
^^ for described reasons in question section, running "sudo service ssh restart", for example, is safer way to restart "ssh" that doing "/etc/init.d/ssh restart"
Question
In linux, the [...] command runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /
Answer
?
Question
In linux, the [...] command runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /
Answer
service
^^ for described reasons in question section, running "sudo service ssh restart", for example, is safer way to restart "ssh" that doing "/etc/init.d/ssh restart"
If you want to change selection, open document below and click on "Move attachment"
service - Unix, Linux Command service - Unix, Linux Command Advertisements NAME service - run a System V init script SYNOPSIS service SCRIPT COMMAND [OPTIONS] service --status-all service --help | -h | --version DESCRIPTION <span>service runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /. The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT. The supported values of COMMAND depend on the invoked script, service passes COMMAND and OPTIONS i
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.