http://www.perlmonks.org?node_id=1021616


in reply to Re^3: Argv problem
in thread Argv problem

What is the cmd interpreting & as?

Replies are listed 'Best First'.
Re^5: Argv problem
by dsheroh (Monsignor) on Mar 04, 2013 at 10:36 UTC
    & means "run the preceding command in the background". So, for example,
    ./myprogram username lsrkj&etk
    will attempt to first run the command ./myprogram username lsrkj as a background process and then, while that's running, also run the command etk in the foreground (probably producing the error "etk: command not found").