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 my 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 this command run in this background.

From man bash:

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

Want to be a Linux expert? Come and join this linux course

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

...