2008. 3. 30. 19:58 Unix

man 페이지 매핑

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                             UNIX GURU UNIVERSE
                                UNIX HOT TIP

                       Unix Tip 2976 - March 30, 2008

                   http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

man 페이지 매핑

Solaris에서 man 페이지를 색인(index)하기 위해서는

1. 색인할 모든 man 페이지를 포함하는 MANPATH 변수를 설정한다.

   Eg.  #> MANPATH=/usr/man:/usr/dt/man:/opt/VRTSvxvm/man; export MANPATH

2. man 페이지를 색인하기 위해 catman 명령어를 사용한다.

   #> catman -w

이제 whatis 명령을 이용하여 명령어가 무엇을 하는지와 'man -k' 명령으로
man 페이지의 키워드를 검색할 수 있다.

------------------------------------------------------------------------

MAPPING MAN

In Solaris, indexing the man pages:

1. Set your MANPATH variable to include all your man pages to be indexed:

    Eg.  #> MANPATH=/usr/man:/usr/dt/man:/opt/VRTSvxvm/man; export MANPATH

2. Use catman command to index the man pages:

    #> catman -w

Now you can use 'whatis' command to know what a command does and
'man -k' commands to search for a keyword in man pages.

반응형
Posted by She쥐포s
o 원인 : /etc/passwd 파일의 shell이 잘못 지정된 경우
o 해결 :
ok> boot cdrom -s                             : CDROM의 Single User 모드 부팅
# mount /dev/dsk/c0t0d0s0 /a             : OS의 / 파티션을 /a에 마운트
# cd /a/etc
# TERM=sun
# export TERM
# vi /etc/passwd
적절한 shell 프로그램을 지정
반응형
Posted by She쥐포s
# isainfo -b

또는

# isainfo -kv

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

                             UNIX GURU UNIVERSE
                                UNIX HOT TIP

                       Unix Tip 2876 - December 19, 2007

                   http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


SOLARIS KERNEL BIT

There is a quick way to findout the Solaris
kernel bit, use isainfo -b

example:
# isainfo -b
64
반응형
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
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.4
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

최근에 올라온 글

최근에 달린 댓글

글 보관함