"/usr/bin/yum -y -R 120 -d 0 -e 0 update yum" 명령에서 "-R 120 -d 0 -e 0"의 역할은 무엇입니까?

"/usr/bin/yum -y -R 120 -d 0 -e 0 update yum" 명령에서 "-R 120 -d 0 -e 0"의 역할은 무엇입니까?

-R 120 -d 0 -e 0명령 내의 명령은 무엇입니까 /usr/bin/yum -y -R 120 -d 0 -e 0 update yum?

튜토리얼로 bash 스크립트에서 이 명령을 실행하려고 합니다. -R 120 -d 0 -e 0yum 명령의 기능을 이해하고 싶습니다 .

답변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

관련 정보