Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
closed by

I am the system administrator and I have been asked to run the Linux script to clean a system.

The command is this:

perl script.pl > output.log &

so this command is ending with the & sign, is there any special significance to it?

closed with the note: Repeated question

1 Answer

0 votes
by (36.8k points)

The '&' makes your command run in the background.

From man bash:

If the command is terminated by a special control operator &, a shell executes this command in your background in the subshell. The shell does not wait for this command to finish, and then return the status is 0.

Come and join linux training to gain great knowledge. 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Dec 13, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer

Browse Categories

...