timestamp
-
LINUX Centos 7 타임스탬프 설정System of Infra/Linux System 2021. 7. 8. 21:00
LINUX Centos 7 타임스탬프 설정 [root@admin/]# history 5 1028 cat .bash_profile 1029 LANG="en_US.UTF-8" 1030 history 5 1031 LANG=C 1032 ls -lrt -> 현재 리눅스 시스템에서 history Command 명령어 사용하게 되면 몇일에 사용되었는지 확인이 불가능한 상태입니다. [root@admin/]# cat /etc/profile TMOUT=600 export TMOUT HISTTIMEFORMAT="%F %T "(추가) export HISTTIMEFORMAT(추가) -> root의 최상위 디렉토리 profile에 HISTTIMEFORMAT 환경변수를 추가해줍니다. [root@admin/]#login -> 프로파..
-
IBM AIX 명령어 타임스탬프 찍기System of Infra/Unix System 2020. 9. 6. 01:51
IBM AIX 명령어 타임스탬프 찍기 [root@test_svr1:/]# history 165 bootlist -om normal 166 lspv 167 lsvg -l rootvg 168 lsvg rootvg 169 df -tg ...(생략) -> 이전의 명령어를 보기 위해서 history명령어를 통해서 명령어를 출력합니다. [root@test_svr1:/]# cat /etc/environment # @(#)18 1.26.3.2 src/bos/etc/environment/environment, cmdsh, bos61p, p2017_34A8 8/1/17 11:20:34 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos61..