From ee4aae6736361edc4d87110727dfbaead7f12555 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Sat, 15 May 2021 15:20:18 +0800 Subject: [PATCH] Update profile --- CustomFiles/Depends/profile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CustomFiles/Depends/profile b/CustomFiles/Depends/profile index e5a13b9..0548363 100644 --- a/CustomFiles/Depends/profile +++ b/CustomFiles/Depends/profile @@ -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'