Back

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

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

The command for this is:

perl script.pl > output.log &

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

1 Answer

0 votes
by (36.8k points)
edited by

The & makes your command run in my background.

From man bash:

If the command is terminated by a control operator &, the shell executes this command in the background of your subshell. The shell does not wait for any command to finish, and return the status 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

...