Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../proc/self/root/etc/profile....
File: modules.sh
# get current shell name by querying shell variables or looking at parent
[0] Fix | Delete
# process name
[1] Fix | Delete
if [ -n "${BASH:-}" ]; then
[2] Fix | Delete
if [ "${BASH##*/}" = 'sh' ]; then
[3] Fix | Delete
shell='sh'
[4] Fix | Delete
else
[5] Fix | Delete
shell='bash'
[6] Fix | Delete
fi
[7] Fix | Delete
elif [ -n "${ZSH_NAME:-}" ]; then
[8] Fix | Delete
shell=$ZSH_NAME
[9] Fix | Delete
else
[10] Fix | Delete
shell=$(/usr/bin/basename $(/usr/bin/ps -p $$ -ocomm=))
[11] Fix | Delete
fi
[12] Fix | Delete
[13] Fix | Delete
if [ -f /usr/share/Modules/init/$shell ]; then
[14] Fix | Delete
. /usr/share/Modules/init/$shell
[15] Fix | Delete
else
[16] Fix | Delete
. /usr/share/Modules/init/sh
[17] Fix | Delete
fi
[18] Fix | Delete
[19] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function