Update profile

This commit is contained in:
Hyy2001X 2021-05-15 15:20:18 +08:00
parent 1e872f48a2
commit ee4aae6736
1 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,16 @@ esac
unset FILE
}
alias ll='ls -alF --color=auto'
service() {
[ -f "/etc/init.d/$1" ] || {
echo "service "'"'"$1"'"'" not found, the following services are available:"
ls "/etc/init.d"
return 1
}
/etc/init.d/$@
}
Sysinfo
alias autoupdate='bash /bin/AutoUpdate.sh'
alias AutoUpdate='bash /bin/AutoUpdate.sh'