CompTIA
XK0-004 · Question #59
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that when the network…
The correct answer is A. nohup service network restart. nohup - "Used to execute a child process without parent association."
Scripting, Containers and Automation
Question
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that when the network connection drops, the network restart script will be killed before the new IP address has been set. Which of the following commands would prevent the script from being killed?
Options
- Anohup service network restart
- Bservice network restart &
- Cecho "service network restart" | at now
- Ddg service network restart
How the community answered
(29 responses)- A72% (21)
- B17% (5)
- C7% (2)
- D3% (1)
Explanation
nohup - "Used to execute a child process without parent association."
Topics
#nohup#remote administration#network restart#process persistence
Community Discussion
No community discussion yet for this question.