Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在执行wget后大约2分钟内,bashshell提示符不会返回(挂起)_Bash_Shell_Wget_Prompt - Fatal编程技术网

在执行wget后大约2分钟内,bashshell提示符不会返回(挂起)

在执行wget后大约2分钟内,bashshell提示符不会返回(挂起),bash,shell,wget,prompt,Bash,Shell,Wget,Prompt,wget在大约10秒内完成文件传输,但在传输后大约2分钟会被卡住,然后返回bashshell。在执行wget命令后,同一系统上的另一个用户将快速获得命令提示 使用CentOS 6.3 Linux。尚未对.bashrc文件进行任何更改。如果您的问题只是使用以下命令返回到提示符: wget url & 您将立即得到提示 我通常使用 nohup wget url & 为了得到更好的结果,这是我的工作 在URL链接的前面和结尾添加单引号可以解决此问题。在两种环境中键入set>${

wget在大约10秒内完成文件传输,但在传输后大约2分钟会被卡住,然后返回bashshell。在执行wget命令后,同一系统上的另一个用户将快速获得命令提示


使用CentOS 6.3 Linux。尚未对.bashrc文件进行任何更改。

如果您的问题只是使用以下命令返回到提示符:

wget url & 
您将立即得到提示
我通常使用

nohup wget url & 
为了得到更好的结果,这是我的工作
在URL链接的前面和结尾添加单引号可以解决此问题。

在两种环境中键入
set>${USER}.env.txt
,移动到公共目录,然后键入
diff*.env.txt
。你可以在那里找到一些线索。祝你好运。似乎有一个潜在的问题至少应该被发现,而不是通过拖延来掩盖。