exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 39 discussion

Actual exam question from LPI's 101-500
Question #: 39
Topic #: 1
[All 101-500 Questions]

The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?

  • A. job -b dmaint
  • B. dbmaint &>/dev/pts/null
  • C. nohup dbmaint &
  • D. bg dbmaint
  • E. wait dbmaint
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Adam_H
Highly Voted 1 year, 6 months ago
Selected Answer: C
The correct answer is nohup dbmaint & The reason for this is nohup (“no hangup”) detaches dbmaint from the user who started it, and the & at the end tells the console to run dbmaint in the background.
upvoted 7 times
...
dpereiro4481
Most Recent 2 months ago
Selected Answer: C
Correct answer is nohup dbmaint &
upvoted 2 times
...
Ninymo
3 months ago
Answer: C
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago