历史文件换一个位置

Posted gaoyuechen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了历史文件换一个位置相关的知识,希望对你有一定的参考价值。

history
USER=root
USER_IP=x.x.x.x
if [ "" = "" ]; then
USER_IP=localhost
fi
if [ ! -d /var/log/history ]; then
mkdir /var/log/history
chmod 777 /var/log/history
fi
if [ ! -d /var/log/history/root ]; then
mkdir /var/log/history/root
chmod 300 /var/log/history/root
fi
export HISTSIZE=4096
DT=20180917_11:10:59
export HISTFILE="/var/log/history/root/[email protected]_"
chmod 600 /var/log/history/root/*history* 2>/dev/null

以上是关于历史文件换一个位置的主要内容,如果未能解决你的问题,请参考以下文章

数组元素换位置游戏

题目荟萃换位置游戏

105.数组选择排序

ELK系列~Nxlog日志收集加转发(解决log4日志换行导致json转换失败问题)

换电脑outlook邮件怎么恢复

换位置