文件操作 - cpanel-user-commands.sh
返回文件管理
返回主菜单
删除本文件
文件: /etc/profile.d/cpanel-user-commands.sh
编辑文件内容
#cPanel Added User Commands -- BEGIN # Insert an entry into the PATH after all of the user's home directory paths. if [ -x "/usr/local/cpanel/3rdparty/bin/perl" ]; then NEW_PATH="$(/usr/local/cpanel/3rdparty/bin/perl -e 'print join ":", map { ( ( !/^\Q$ENV{HOME}\E/ && !$seen++ && $_ ne $ARGV[0] ? @ARGV : () ), $_ ) } split /:/, $ENV{PATH};' /usr/local/cpanel/3rdparty/lib/path-bin)" if [ ! -z "$NEW_PATH" ]; then PATH=$NEW_PATH export PATH fi fi #cPanel Added User Commands -- END
修改文件时间
将文件时间修改为当前时间的前一年
删除文件