“程序"是什么意思?在命令行上是什么意思? [英] What does "program &" mean on the command line?

查看:32
本文介绍了“程序"是什么意思?在命令行上是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用套接字开发客户端和服务器程序.我的程序应该从命令行获取端口号.我看到一个例子,上面写着myprogram 2454 &".

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 &".

我想知道 &(与号)在那里是什么意思.

I wonder what that & (ampersand) means there.

推荐答案

表示在后台启动进程.http://tldp.org/LDP/abs/html/x9644.html这样您就可以继续使用您的 shell 会话来运行其他程序.然后您可以使用 fg 再次前台"您的进程.

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.

这篇关于“程序"是什么意思?在命令行上是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆