- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- history 기록남기기 (도와주세요 ㅠㅠ)
HP-UX
1757003
회원
2275
온라인
108858
솔루션
포럼
범주
Company
Local Language
뒤로
포럼
토론 게시판
포럼
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
토론 게시판
토론 게시판
포럼
토론 게시판
뒤로
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
블로그
정보
커뮤니티 언어
언어
포럼
블로그
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 03-19-2005 11:00 PM
날짜: 03-19-2005 11:00 PM
history 기록남기기 (도와주세요 ㅠㅠ)
고수님들 좀 부탁합니다.
더이상 진행이 안되네요 ㅠㅠ
posix shell,ksh에서는 잘되는데
csh,ksh shell에서는 화일을 기록하지 않네요
처음 로긴할때 .cshrc에 넣었는데
화일만 생성되지 history가 기록되지 않습니다.
set today=`date +%Y%m%d%H%M%S`
set user=`whoami`
set where=`who am i -R | sed -e 's/.*(//' -e 's/)//'`
set file=$today.$user.$where.log
touch /home/ttest/$file
set histfile=/home/ttest/$file <-- 이부분이 안되는것 같아요
set histsize=10000
더이상 진행이 안되네요 ㅠㅠ
posix shell,ksh에서는 잘되는데
csh,ksh shell에서는 화일을 기록하지 않네요
처음 로긴할때 .cshrc에 넣었는데
화일만 생성되지 history가 기록되지 않습니다.
set today=`date +%Y%m%d%H%M%S`
set user=`whoami`
set where=`who am i -R | sed -e 's/.*(//' -e 's/)//'`
set file=$today.$user.$where.log
touch /home/ttest/$file
set histfile=/home/ttest/$file <-- 이부분이 안되는것 같아요
set histsize=10000
1 응답 1
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 03-21-2005 11:00 PM
날짜: 03-21-2005 11:00 PM
history 기록남기기 (도와주세요 ㅠㅠ)
#vi .cshrc
if ( $?prompt ) then # shell is interactive.
set history=300 # previous commands to remember.
set savehist=300 # number to save across
endif
위와 같이 해주시구여...
그럼 $HOME/.history 라는 파일에 history가 쌓여있을겁니다.
이파일을 보시면 될겁니다...
set histfile=/home/ttest/$file <-- 이건 안될건데요..
아시는분계시면 저도 답변 부탁드립니다..
if ( $?prompt ) then # shell is interactive.
set history=300 # previous commands to remember.
set savehist=300 # number to save across
endif
위와 같이 해주시구여...
그럼 $HOME/.history 라는 파일에 history가 쌓여있을겁니다.
이파일을 보시면 될겁니다...
set histfile=/home/ttest/$file <-- 이건 안될건데요..
아시는분계시면 저도 답변 부탁드립니다..
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP