Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../proc/self/root/etc/profile....
File: history.sh
# Managed by Salt
[0] Fix | Delete
# how many lines to keep in the history FILE
[1] Fix | Delete
export HISTFILESIZE=500000
[2] Fix | Delete
# how many lines to keep in memory for this SESSION
[3] Fix | Delete
export HISTSIZE=10000
[4] Fix | Delete
# add a timestamp to log entries
[5] Fix | Delete
HISTTIMEFORMAT="(%m/%d/%y) %T "
[6] Fix | Delete
export HISTTIMEFORMAT
[7] Fix | Delete
# append the history for all terminals
[8] Fix | Delete
shopt -s histappend
[9] Fix | Delete
PROMPT_COMMAND="${PROMPT_COMMAND:-:}; history -a"
[10] Fix | Delete
[11] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function