linux history履歴操作時間の表示
534 ワード
現在のユーザーディレクトリの下で変更します.bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export HISTTIMEFORMAT="%F %T "
.bashrc /etc/profile ,
soucre /etc/profile
source /home/ /bashrc