!["/usr/bin/yum -y -R 120 -d 0 -e 0 update yum" 명령에서 "-R 120 -d 0 -e 0"의 역할은 무엇입니까?](https://linux55.com/image/132847/%22%2Fusr%2Fbin%2Fyum%20-y%20-R%20120%20-d%200%20-e%200%20update%20yum%22%20%EB%AA%85%EB%A0%B9%EC%97%90%EC%84%9C%20%22-R%20120%20-d%200%20-e%200%22%EC%9D%98%20%EC%97%AD%ED%95%A0%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
-R 120 -d 0 -e 0
명령 내의 명령은 무엇입니까 /usr/bin/yum -y -R 120 -d 0 -e 0 update yum
?
튜토리얼로 bash 스크립트에서 이 명령을 실행하려고 합니다. -R 120 -d 0 -e 0
yum 명령의 기능을 이해하고 싶습니다 .
답변1
모든 옵션의 의미는 맨페이지에 기록되어 있습니다.
-R, --randomwait=[time in minutes]
Sets the maximum amount of time yum will wait before performing a command -
it randomizes over the time.
-d, --debuglevel=[number]
Sets the debugging level to [number] - turns up or down the amount of things
that are printed. Practical range: 0 - 10
-e, --errorlevel=[number]
Sets the error level to [number] Practical range 0 - 10. 0 means print only critical
errors about which you must be told. 1 means print all errors, even ones that are
not overly important. 1+ means print more errors (if any) -e 0 is good for cron jobs.
/usr/bin/yum -y -R 120 -d 0 -e 0 update yum
그래서 패키지 업데이트 후 무작위로 최대 2시간을 기다리면 치명적인 오류만 출력됩니다.yum