티스토리 뷰
반응형
/etc/profile.d/ 이하에 sh 파일 생성
export PROMPT_COMMAND='RETRN_VAL=$?;logger -p local1.notice "[$(whoami)][$PWD][$$]: $(history 1 | sed "s/^[ ]*[0-9]\+[ ]*//" ) [$RETRN_VAL]"'
umask 027
반응형
'linux' 카테고리의 다른 글
| linux 프롬프트에 최초 커넥션 유저 표시 (0) | 2026.02.23 |
|---|---|
| packer ami update (0) | 2024.08.02 |
| "grubby" 커널 변경 명령어 (0) | 2024.07.10 |
| sed 활용 (0) | 2024.04.05 |
| grub2 설정 변경 (0) | 2023.11.30 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 윈도우 cmd 계정 관리
- chrony
- linux command log
- oracle linux8 kernel
- CentOS 7 GUI
- 특정 문구 치환
- ILO
- dl20 centos7
- cmd로 계정 생성
- 윈도우서버 계정 관려
- cgroup
- centos7 ntp
- cisco ansible
- shell connmad log
- ios ansible
- dl20 g9 centos7 설치
- vm rac
- ansible ios
- ipmi
- 리눅스 커맨드 로그남기기
- kernel 변경
- nxos ansible
- dl20
- DL20 GEN9 장비에 CentOS 7
- cmd로 윈도우 계정 관리
- ISCSI 볼륨 RAC
- ansible network
- nutanix rac
- 특정 라인삭제
- windows.old 강제삭제
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
