以下のようにバックグラウンドでyumを介してパッケージをインストールしたいと思います。
yum -y install ntp &
ただし、この例は機能せず、yumインストールはバックグラウンドにインストールされません。yum
バックグラウンドでインストールできるようにコマンドを変更するにはどうすればよいですか?ntp
# yum -y install ntp &
[1] 26960
09:03:15 root@ereztest:~ # Loaded plugins: rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ntp.x86_64 0:4.2.6p5-10.el6.1 will be installed
--> Finished Dependency Resolution
ベストアンサー1
-q
出力を抑制するには、バックグラウンドジョブのフラグを使用します。
yum
マニュアルページから:
-q, --静か
実行時に出力がありません。 -y も使用できます。