Javatpoint Logo
Javatpoint Logo

Linux Ampersand (&)

when a command line ends with the &, the shell does not wait for the command to finish. You will get your shell prompt back while the command executes in the background. When execution is completed, the shell prompt will display a message as shown is the below snapshot.



Linux Ampersand

Look at the above snapshot, command "sleep 15 &" has displayed a message after 15 seconds.

Meanwhile, in the shell prompt, we can write any other command.

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA