Linux server manual patching by using yum step by step
Follow the below steps to complete the manual patching of Linux server.
$ yum -y update yum >/dev/null 2>&1
$ yum -y update libstdc++ >/dev/null 2>&1
$ yum -y update kernel glibc >/dev/null 2>&1
$ yum -y update >/dev/null 2>&1
> - redirect
/dev/null - black hole where any data sent, will be discarded
2 - file descriptor for Standard Error
> - redirect
& - symbol for file descriptor (without it, the following 1 would be considered a filename)
1 - file descriptor for Standard Out
So >/dev/null 2>&1 is redirect the output of your program to /dev/null. Include both the Standard Error and Standard Out. For more info refer Linux I/O redirection.
No comments:
Post a Comment