- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- [급] 11i 버전에서 쉘스크립트테스트 오류
HP-UX
1753436
회원
4884
온라인
108794
솔루션
포럼
범주
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 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 11-11-2004 11:00 PM
날짜: 11-11-2004 11:00 PM
[급] 11i 버전에서 쉘스크립트테스트 오류
스크립트 내용
#!/bin/sh
host=`uname -n`
if
then
echo "test Ok";
fi
-----------------------------------------
]# sh test.sh
test.sh: abc: The specified number is not valid for this command.
위와 같은 에러가 납니다.... 왜 그럴까요?
#!/bin/sh
host=`uname -n`
if
then
echo "test Ok";
fi
-----------------------------------------
]# sh test.sh
test.sh: abc: The specified number is not valid for this command.
위와 같은 에러가 납니다.... 왜 그럴까요?
4 응답 4
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 11-11-2004 11:00 PM
날짜: 11-11-2004 11:00 PM
[급] 11i 버전에서 쉘스크립트테스트 오류
네 호스트네임 비교해서 echo로 찍는겁니다.
그런데 알려주신데로 해보니 에러는 안나는데 echo를 안찍네요?
그런데 알려주신데로 해보니 에러는 안나는데 echo를 안찍네요?
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 11-16-2004 11:00 PM
날짜: 11-16-2004 11:00 PM
[급] 11i 버전에서 쉘스크립트테스트 오류
안녕하세요~
이종민입니다.
이태경님 말씀대로 하시면 정상 출력될꺼구여..
참고로 Shell에서 오류부분 체크하실려면,
# sh -x {shell script name}
하시면, 각 진행 상황을 보여줍니다. 오류 체크하실때 도움이 되실듯~
그럼...
이종민입니다.
이태경님 말씀대로 하시면 정상 출력될꺼구여..
참고로 Shell에서 오류부분 체크하실려면,
# sh -x {shell script name}
하시면, 각 진행 상황을 보여줍니다. 오류 체크하실때 도움이 되실듯~
그럼...
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP