편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
21번째 줄: | 21번째 줄: | ||
291 ll | 291 ll | ||
292 history | 292 history | ||
</ | </source> | ||
:→ 시각이 표시되지 않는다. | :→ 시각이 표시되지 않는다. | ||
30번째 줄: | 30번째 줄: | ||
echo export HISTTIMEFORMAT=\"[%F %T] \" > /etc/profile.d/bash_history.sh | echo export HISTTIMEFORMAT=\"[%F %T] \" > /etc/profile.d/bash_history.sh | ||
chmod 755 /etc/profile.d/bash_history.sh | chmod 755 /etc/profile.d/bash_history.sh | ||
</ | </source> | ||
*설정 이후로 새로 로그인할 때부터 적용된다. | *설정 이후로 새로 로그인할 때부터 적용된다. | ||
46번째 줄: | 46번째 줄: | ||
#1331169375 | #1331169375 | ||
exit | exit | ||
</ | </source> | ||
<syntaxhighlight lang='console'> | <syntaxhighlight lang='console'> | ||
61번째 줄: | 61번째 줄: | ||
998 [2012-03-08 11:15:49] exit | 998 [2012-03-08 11:15:49] exit | ||
999 [2012-03-08 11:15:55] history | 999 [2012-03-08 11:15:55] history | ||
</ | </source> | ||
==같이 보기== | ==같이 보기== |