Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 제주도맛집
- 살롱드라방
- vnstat
- 제주맛집
- Shell Script
- bash
- Linux
- ipmi
- history 로그 남기기
- bwm-ng
- 사랑담은해물
- 표준 출력
- 표준 입력
- stressapptest
- 애월맛집
- ipmiutil
- 표준 에러
- 제주도
- 복도새기
- GCOV
- ipmitool
- 숙이네보리빵
- bwm
- OS TEST
- 사랑담은 해물
- 몽상드애월
- memtester
- iftop
- iperf
- sysstat
Archives
- Today
- Total
이런 세상..
[LINUX] history 시간 출력 본문
[LINUX] history 시간 출력
[1] 설정
# export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S '
# history
1015 2016-01-15 16:12:18 ls
1016 2016-01-15 16:12:19 cd
1017 2016-01-15 16:12:20 ls
1018 2016-01-15 16:12:20 cd
[2] 해제
# unset HISTTIMEFORMAT
# history
1015 ls
1016 cd
1017 ls
1018 cd
[3] /etc/profile 에 설정
# vi /etc/profile
(아래 항목 추가)
HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S '
export HISTTIMEFORMAT
# source /etc/profile
'> [IT] > >> Linux' 카테고리의 다른 글
[LINUX] shell script - 비교 연산자 (0) | 2016.01.15 |
---|---|
[LINUX] shell script - ftp 접속 및 파일 전송 (0) | 2016.01.15 |
[LINUX] RPM (0) | 2016.01.15 |
[LINUX] IPMI(Intelligent Platform Management Interface) (0) | 2016.01.15 |
[LINUX] 터미널에서 rz, sz 로 파일 전송 (0) | 2016.01.15 |
Comments