121k views
1 vote
Listen to exam instructions: What command would you enter at the command prompt to start the gedit program in the background?

A) gedit background
B) gedit &
C) start gedit
D) background gedit

User ADAMJR
by
8.2k points

1 Answer

4 votes

Final answer:

The command to start gedit in the background is Option B 'gedit &'. The '&' indicates background execution in Unix-like systems, enabling multitasking in the terminal.

Step-by-step explanation:

To start the gedit program in the background from the command prompt, you would enter gedit &. The ampersand (&) at the end of the command is what tells the system to run the program in the background, allowing you to continue using the terminal for other commands without waiting for gedit to close. This is a common practice in Unix-like operating systems for multitasking in the command-line interface.

To start the gedit program in the background, you would enter the command gedit & at the command prompt. The ampersand symbol (&) indicates that the program should run in the background while allowing you to continue using the command prompt or perform other tasks. This is useful when you want to run a program without it blocking the command prompt or taking up your attention.

User J Kluseczka
by
7.9k points