2007. 12. 3. 21:45 Unix/HP-UX
'명령어'에 해당되는 글 16건
- 2007.12.03 FTP 명령어
- 2007.11.12 명령 프롬프트에서 Windows 서비스팩 level 알아보기
- 2007.11.03 HP Unix에서 압축명령어
- 2007.11.03 디렉토리 내용 옮기기
- 2007.11.03 현재 디렉토리 표시
- 2007.11.03 iostat으로 모든 스카시 장치 검색하기
2007. 11. 12. 23:04 보안
명령 프롬프트에서 Windows 서비스팩 level 알아보기
□ 명령 프롬프트에서 Windows 서비스팩 level 알아보는 방법
- Systeminfo (Only on XP)
- psinfo -h | grep -i "service pack:" (psinfo를 설치해야 함)
- reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v CSDVersion
- netsh diag show os /v
- Winver (no use from cmd) (GUI Based)
- winmsd (GUI Based) = WindowsKey + R -> msinfo32
- Systeminfo (Only on XP)
- psinfo -h | grep -i "service pack:" (psinfo를 설치해야 함)
- reg query "HKLM\Software\Microsoft
- netsh diag show os /v
- Winver (no use from cmd) (GUI Based)
- winmsd (GUI Based) = WindowsKey + R -> msinfo32
반응형
2007. 11. 3. 21:17 Unix/HP-UX
HP Unix에서 압축명령어
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2360 - June 18, 2006
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2360 - June 18, 2006
http://www.ugu.com/sui/ugu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
gzip, znew, compress
HP Unix에서 "compress" 명령은 약 50~60%를 압축한다. "gzip"은 80%까지 파일을
HP Unix에서 "compress" 명령은 약 50~60%를 압축한다. "gzip"은 80%까지 파일을
압축한다. HP Unix에는 compress 파일(*.Z(註: 대문자))을 zip파일(註: *.gz)로
변환해주는 명령이 있다. "znew"는 자동으로 compress 파일(*.Z)을 gunzip파일(*.gz)로
변환해 준다.
예:
$ znew test.Z
@@@@@@@@@@@@@@@@@@@@[ 원문 ]@@@@@@@@@@@@@@@@@@@@
gzip, znew, compress
In HP Unix "compress" command will compress
around 50 to 60%. "gzip" will compress the
file upto 80%. There is a command available
in HP's unix to convert a compress file to
a zip file. "znew" will automatically
convert compressed files(*.Z) to gunzip
files(*.gz).
Example:
$ znew test.Z
around 50 to 60%. "gzip" will compress the
file upto 80%. There is a command available
in HP's unix to convert a compress file to
a zip file. "znew" will automatically
convert compressed files(*.Z) to gunzip
files(*.gz).
Example:
$ znew test.Z
반응형
2007. 11. 3. 21:12 Unix
디렉토리 내용 옮기기
디렉토리 내용 옮기기
(Solaris에서.. 다른 Unix도 대동소이함, 리눅스의 경우 S옵션도 있음 찾아볼 것)
cd origdir
tar cfb - 126k . | ( cd /newdir ; tar xfvp - )
성능을 위해서는 star가 더 좋다.
ufsdump와 restore에 대해서는 man page를 보라, 매우 비슷한 문법이다.
tar cfb - 126k . | ( cd /newdir ; tar xfvp - )
성능을 위해서는 star가 더 좋다.
ufsdump와 restore에 대해서는 man page를 보라, 매우 비슷한 문법이다.
):
@@@@@@@@@@@@@@@@@@@@[ 원문 ]@@@@@@@@@@@@@@@@@@@@
cd origdir
tar cfb - 126k . | ( cd /newdir ; tar xfvp - )
for performance star is better
see man pages for ufsdump+restore, very similar syntax
):
tar cfb - 126k . | ( cd /newdir ; tar xfvp - )
for performance star is better
see man pages for ufsdump+restore, very similar syntax
):
반응형
2007. 11. 3. 21:10 Unix
현재 디렉토리 표시
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2342 - May 31, 2006
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
내가 어디 있는가?
csh에서 자신이 어디에 있는지 알고 싶을 때, .cshrc 파일에 다음의 두 줄을 넣어라.
alias sp 'set prompt="`hostname`:`pwd`> "'
alias cd 'cd \!*;sp'
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2342 - May 31, 2006
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
내가 어디 있는가?
csh에서 자신이 어디에 있는지 알고 싶을 때, .cshrc 파일에 다음의 두 줄을 넣어라.
alias sp 'set prompt="`hostname`:`pwd`> "'
alias cd 'cd \!*;sp'
@@@@@@@@@@@@@@@@@@@@[ 원문 ]@@@@@@@@@@@@@@@@@@@@
WHERE AM I ALWAYS
In csh, if you always want to know
where you are, put in your .cshrc-file
the following 2 lines:
alias sp 'set prompt="`hostname`:`pwd`> "'
alias cd 'cd \!*;sp'
In csh, if you always want to know
where you are, put in your .cshrc-file
the following 2 lines:
alias sp 'set prompt="`hostname`:`pwd`> "'
alias cd 'cd \!*;sp'
반응형
2007. 11. 3. 20:53 Unix/Solaris
iostat으로 모든 스카시 장치 검색하기
PROBE-SCSI-ALL and IOSTAT
시스템이 온라인일때 모든 SCSI장비를 검색하려면 다음 명령을 실행하여
검색을 할 수 있다.
검색을 할 수 있다.
# iostat -En
이 팁은 SPARC 플랫폼상의 Solaris 2.6에서 사용할 수 있다.
---------------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
UNIX HOT TIP
Unix Tip 2331 - May 20, 2006
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PROBE-SCSI-ALL and IOSTAT
If you want to do probe-scsi-all
when the system is online, you
can do it by running the following
command:
when the system is online, you
can do it by running the following
command:
# iostat -En
This is applicable for Solaris 2.6 on SPARC platform.
반응형