What does “program &” mean on the command line?

后端 未结 2 1402
感情败类
感情败类 2021-01-29 14:40

I need to develop a client and server program with using sockets. My program should get port number from the command line. I saw an example which says \"myprogram 2454 &\".<

2条回答
  •  孤街浪徒
    2021-01-29 14:59

    It means to start the process in the background. http://tldp.org/LDP/abs/html/x9644.html so that you may continue to use your shell session to run other programs. You can then use fg to "foreground" your process again.

提交回复
热议问题