2007. 12. 3. 21:45 Unix/HP-UX

FTP 명령어

o FTP 명령어
    - get
        단일 파일 전송(수신)
    - put
        단일 파일 전송(송신)
    - mget
        복수 파일 전송(수신)
    - mput
        복수 파일 전송(송신)
    - ha(sh)
        전송시 hash prompt(#) 출력
    - bi(n)
        binary mode 전송(바이너리 파일 전송)
    - asc(ii)
        ascii mode 전송(일반 파일(텍스트파일) 전송)
    - -
        파일내용 표준출력(화면출력)
반응형
Posted by She쥐포s
□ 명령 프롬프트에서 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
반응형
Posted by She쥐포s
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                             UNIX GURU UNIVERSE
                                UNIX HOT TIP

                       Unix Tip 2360 - June 18, 2006

                   http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
gzip, znew, compress

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
반응형
Posted by She쥐포s

2007. 11. 3. 21:12 Unix

디렉토리 내용 옮기기

디렉토리 내용 옮기기
(Solaris에서.. 다른 Unix도 대동소이함, 리눅스의 경우 S옵션도 있음 찾아볼 것)
 
cd origdir
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
):
반응형
Posted by She쥐포s

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'

@@@@@@@@@@@@@@@@@@@@[ 원문 ]@@@@@@@@@@@@@@@@@@@@
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'
반응형
Posted by She쥐포s
PROBE-SCSI-ALL and IOSTAT
 
시스템이 온라인일때 모든 SCSI장비를 검색하려면 다음 명령을 실행하여
검색을 할 수 있다.
 
# iostat -En
 
이 팁은 SPARC 플랫폼상의 Solaris 2.6에서 사용할 수 있다.
 
---------------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                             UNIX GURU UNIVERSE
                                UNIX HOT TIP
 
                       Unix Tip 2331 - May 20, 2006
 
                   http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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:
 
# iostat -En
 
This is applicable for Solaris 2.6 on SPARC platform.
반응형
Posted by She쥐포s
이전버튼 1 2 이전버튼

블로그 이미지
She쥐포s
Yesterday
Today
Total

달력

 « |  » 2024.3
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 29 30
31

최근에 올라온 글

최근에 달린 댓글

글 보관함