измените свой скрипт на
#!/bin/bash
#this line will kill that process is runing yum
kill -9 `ps -aux | grep yum |tr -s " " : | cut -f2 -d : | head -1`
yum makecache
kill -9 `ps -aux | grep yum |tr -s " " : | cut -f2 -d : | head -1`
yum -y update
yum -y upgrade
mandb
Попробуйте это:
wget -O ABC.txt "https://docs.google.com/document/d/xxxxxx/export?format=txt"