_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › 朱Μれ蠍

Contents



朱Μ 語ろ 炎概朱 襷豎るる 覿 螻, 豌朱 襷危 蟆 CDE(Common Desktop Environment).
蟯襴 螻朱 蠍磯蓋朱 root襯 ロ螻, れ ロ root れ襯 ロ..
蠏碁覃 螳 谿曙 郁..
襷 ク讌蠍一 蟯襴..
~ 蠏碁る 朱Μれ 豺 讌蠍 伎 伎 襷一り 觸螳讌蠍 讌蟾讌 襷一る 覃企ゼ 谿企..
企 CDE 曙企慨蟲 襷一る 螳蟇磯Μ覃 蟯襴螳 ...
~

血朱 襦蠏語 るジ 襦 襦蠍危 su朱 覈轟企ゼ 牛伎 root襦 襦蠍伎 伎 ..
一 血 る...작 --> 행 --> telnet 192.168.0.101 ..
れ 危朱 朱Μり 語ろ 貉危一 IP譯殊 ..
朱Μ 蟆曙 貊 伎殊 企慨蠍磯...

SunOS 5.8

login: oracle
Password:
Last login: Sat Nov 24 15:17:21 from :0
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
$


企一...
る狩伎襦 襦蠍伎 給..
襾殊 血 煙 企..
螳蟆 企..
蠍磯磯 蠏碁襦 磯殊 企慨蠍 覦..
'--'襦 蟆 螳 譯殊 手企蟾 願 れ牛る 牛蠍..
$ su root
Password:		--朱Μ 貊 伎る 牛語..
# groupadd -g 7000 users					--蠏碁9 , -g 旧 蠏碁9 覯語 
# useradd -g users -d /export/home/yasi -m yasi				
-- , -g  蠏碁9, -d  襴 -m   襴螳  
# passwd yasi
New password:							--覲伎 ロ れ 覲伎伎 .
Re-enter new password:
passwd (SYSTEM): passwd successfully changed for yasi
# mkdir -P /export/home/yasi
mkdir: 覈視 旧 -- P						--朱Μれ /覓語蟲覲 ろ ..
mkdir: 覯: mkdir [-m mode] [-p] dirname ...
# mkdir -p /export/home/yasi			--襴 , ( root 螻) -p 旧 襴蟾讌 
# chown oracle /export/home/yasi		--change owner,  襭瑚朱 燕 襴 襭語 願鍵 覓語 襯 覲蟆
# su - yasi
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
$ id								--  朱Μれ 覿 覯語 企, 蠏碁9 給..
uid=101(yasi) gid=7000(users)
$ pwd								-- 螳 襾碁手  襴
/export/home/yasi
$								--  # $襦 覦蟆 覲殊 給..

願規...願碓 血朱 蠍一 る慨....蠏碁9炎骸 煙 蟇一 覈 讌 企語企..~
譴 蟆 root螻朱 れ願 譯殊襯 る 蟆..
蟆曙企朱讌 企 覈詩覃 伎豌伎 譯 レ 殊 蠍 覓語..
朱Μれ CUI(Consol(Command-Line) User Interface) 豺 讌蠍 伎..
覩語 覈轟伎 豌 襷 覺..

$ su - root
Password:
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
# uname				-- 覈轟企 伎豌伎 覲企ゼ 覲伎譴.. 旧 a, X螳   れ螻 螳給..
SunOS
# uname -a
SunOS yasicom 5.8 Generic_108529-09 i86pc i386 i86pc
# uname -X
System = SunOS
Node = yasicom
Release = 5.8
KernelID = Generic_108529-09
Machine = i86pc
BusType = 
Serial = 
Users = 
OEM# = 0
Origin# = 1
NumCPU = 1

# uname -aX
SunOS yasicom 5.8 Generic_108529-09 i86pc i386 i86pcSystem = SunOS
Node = yasicom
Release = 5.8
KernelID = Generic_108529-09
Machine = i86pc
BusType = 
Serial = 
Users = 
OEM# = 0
Origin# = 1
NumCPU = 1


れ 讌襯 覲企 覈轟 data襯 覺.
date覈轟朱 朱 讌蠍 ろ 螳 蠍一朱 螳螻 讌襯 覲殊螳 給..
蠏碁 讌 螳 螻豺 蟆 root襷 給..
$ date
2001 11 25 殊 ろ 11 35覿 23豐
$ date 112523352001						--root螳 蠍磯覓語 ..讌襯 覦蠖 蟠 .
date: 螳 
覯: date [-u] mmddHHMM[[cc]yy][.SS]
        date [-u] [+format]
        date -a [-]sss[.fff]
$ su
Password:
# date 112523142001
2001 11 25 殊 ろ 11 14覿 00豐
# date
2001 11 25 殊 ろ 11 14覿 10豐


れ レ 覺覺...
殊給...

$ cal 6								--6 ..



                                6

         Jan                    Feb                    Mar
 S  M Tu  W Th  F  S    S  M Tu  W Th  F  S    S  M Tu  W Th  F  S
                1  2       1  2  3  4  5  6       1  2  3  4  5  6
 3  4  5  6  7  8  9    7  8  9 10 11 12 13    7  8  9 10 11 12 13
10 11 12 13 14 15 16   14 15 16 17 18 19 20   14 15 16 17 18 19 20
17 18 19 20 21 22 23   21 22 23 24 25 26 27   21 22 23 24 25 26 27
24 25 26 27 28 29 30   28                     28 29 30 31
31
         Apr                    May                    Jun
 S  M Tu  W Th  F  S    S  M Tu  W Th  F  S    S  M Tu  W Th  F  S
             1  2  3                      1          1  2  3  4  5
 4  5  6  7  8  9 10    2  3  4  5  6  7  8    6  7  8  9 10 11 12
11 12 13 14 15 16 17    9 10 11 12 13 14 15   13 14 15 16 17 18 19
18 19 20 21 22 23 24   16 17 18 19 20 21 22   20 21 22 23 24 25 26
25 26 27 28 29 30      23 24 25 26 27 28 29   27 28 29 30
                       30 31
         Jul                    Aug                    Sep
 S  M Tu  W Th  F  S    S  M Tu  W Th  F  S    S  M Tu  W Th  F  S
             1  2  3    1  2  3  4  5  6  7             1  2  3  4
 4  5  6  7  8  9 10    8  9 10 11 12 13 14    5  6  7  8  9 10 11
11 12 13 14 15 16 17   15 16 17 18 19 20 21   12 13 14 15 16 17 18
18 19 20 21 22 23 24   22 23 24 25 26 27 28   19 20 21 22 23 24 25
25 26 27 28 29 30 31   29 30 31               26 27 28 29 30

         Oct                    Nov                    Dec
 S  M Tu  W Th  F  S    S  M Tu  W Th  F  S    S  M Tu  W Th  F  S
                1  2       1  2  3  4  5  6             1  2  3  4
 3  4  5  6  7  8  9    7  8  9 10 11 12 13    5  6  7  8  9 10 11
10 11 12 13 14 15 16   14 15 16 17 18 19 20   12 13 14 15 16 17 18
17 18 19 20 21 22 23   21 22 23 24 25 26 27   19 20 21 22 23 24 25
24 25 26 27 28 29 30   28 29 30               26 27 28 29 30 31
31



$ cal
   November 2001
 S  M Tu  W Th  F  S
             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

$ cal 12 2022				--2022 襴るる 殊殊願軌...蠏碁蟾 伎 朱??
   December 2022
 S  M Tu  W Th  F  S
             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


れ 襷 覯 覲願給...
螳 襾碁Μ 覈轟企ゼ 蠍一牛讌 覈詩...
蠏碁 谿瑚 襷蟆 覦襦..man伎..
譬 襷 る襦...伎 覲伎譯手 ...

<覯>
ろ伎る : れ 覃伎朱 企
: 覃伎 殊 讌
Ctrl + b : 覃 朱 企
Ctrl + f : 覃 る 企
/pattern : 伎 谿場 企
N : れ 伎 谿場 企
Q : 譬襭

$ man uname
Reformatting page.  Please Wait... done

User Commands                                            uname(1)

NAME
     uname - print name of current system

SYNOPSIS
     uname [ -aimnprsvX ]

     uname [ -S system_name ]

DESCRIPTION
     The uname utility prints information about the current  sys-
     tem on the standard output. When options are specified, sym-
     bols representing one or more system characteristics will be
     written to the standard output. If no options are specified,
     uname  prints  the  current  operating  system's  name.  The
     options  print  selected  information  returned by uname(2),
     sysinfo(2), or both.

OPTIONS
     The following options are supported:

     -a    Prints basic information currently available from  the
           system.

     -i    Prints the name of the hardware implementation  (plat-
           form).

     -m    Prints the machine hardware name (class). Use of  this
           option is discouraged; use uname -p instead. See NOTES
           section below.

     -n    Prints the nodename (the nodename is the name by which
           the system is known to a communications network).


										<危>


れ ろ 襦蠏語 蟲蟲 語 危エ覲企 覈轟伎..
讌 企慨蟆 蟆給..
覯讌 る console 讌讌 レ襯 覩誤蟲..
pts/4, pts/5 蟆 螳 レ...pseudo device手 讌...
term 蠍一 る...願 豺企...覈瑚 覓朱Μ朱 郁屋 レ襯 覩誤..


$ who																										--朱 覲企ゼ 覲伎譴..
oracle     console      11 25 22:18   (:0)
oracle     pts/4        11 25 22:19   (:0.0)
oracle     pts/5        11 25 22:21   (:0.0)
yasi       pts/6        11 25 23:32   (192.168.0.1)
$ who am i																						  --讌蠍 願 企 襦 襦蠍危讌 覲伎譴...
yasi       pts/6        11 25 23:32   (192.168.0.1)
$ whoami																								-- 覈轟 螳 企襷 る...一Ц...るれ..<;
whoami: 
$ who -H																								--who 覈轟伎 螳譯?
NAME       LINE         TIME
oracle     console      11 25 22:18   (:0)
oracle     pts/4        11 25 22:19   (:0.0)
oracle     pts/5        11 25 22:21   (:0.0)
yasi       pts/6        11 25 23:32   (192.168.0.1)
$ who -q																								--螳 企襷 覲伎譴..
oracle   oracle   oracle   yasi
# users=4
$ who -m																								-- 磯碁  覲企 覲伎譴..
yasi       pts/6        11 25 23:32   (192.168.0.1)


願 企 襦 襦蠍危螳 るジ 覈轟企 給..
訖襷 襦蠍企 企 蠏碁9 螳 讌...


$ id
uid=101(yasi) gid=7000(users)					--企 螳  Primary Group襷 
$ id -a																		--企 螳  覈 蠏碁9 
uid=101(yasi) gid=7000(users) groups=7000(users),101(dba)
$ id oracle
uid=1001(oracle) gid=101(dba)
$ id -a oracle
uid=1001(oracle) gid=101(dba) groups=101(dba)


豌 企一手係襯 蟾 蟇 螳企...
覈轟企ゼ 覈螳 郁屋伎 語 り規...
れ 覦一 襴 蟆 覈轟企ゼ 覺..



$ ls
local.cshrc    local.login    local.profile
$ ls -a
.              ..             .profile       local.cshrc    local.login    local.profile
$ ls -al
total 12
drwxr-xr-x   2 100      users        512 Nov 24 17:05 .
drwxr-xr-x   5 root     root         512 Nov 25 22:09 ..
-rw-r--r--   1 yasi     users        144 Nov 24 17:05 .profile
-rw-r--r--   1 yasi     users        124 Nov 24 17:05 local.cshrc
-rw-r--r--   1 yasi     users        607 Nov 24 17:05 local.login
-rw-r--r--   1 yasi     users        582 Nov 24 17:05 local.profile
$ ls;pwd					--螳 覈轟企ゼ 郁屋企..
local.cshrc    local.login    local.profile
/export/home/yasi
$ pwd						-- 襦蠍危 螳  襴 豺
/export/home/yasi


血 る 麹 讌蠍 給牛り..
覃 覦煙ろ伎る 覦レ 企郁碓 弮蟾..
願 譬 讌讀る暑蟲一..~
螳螳 る螻 蟆 覲伎..
覲伎伎 覿 蟆螻 れ 覲伎蠍...

erase :蠍襯 讌企.
werase : 企ゼ 讌企.
kill :殊語 覈讌企.
intr, quit : 螳譬襭.
susp : 殊譴讌.


$ stty -a
speed 38400 baud;
rows = 61; columns = 120; ypixels = 0; xpixels = 0;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = ; eol2 = ; swtch = ;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -parext
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3

$ stty erase ^H						
--伎 譬 襦 譟 蟆企..譯殊蟆 覦蠖 蠍 讌郁鍵襯 erase譴  企 讌 襷朱 蟆企.
--伎 譴 れ 覦蠑語襯 覈詩蠍 覓語企.. '\'襯 伎覃 る...一Ц  弮蟲襷..~
--碁Μ 覓語蟶朱Μ襯 殊狩 讌 覃  蟆伎襾..

蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

貍 蠍 殊襷 覈磯 . 襦 殊 覿 豎螻 語 覓語 レ 伎 企. 語蟆 伎手 襷 伎伎朱 蟆 苦 覲牛蟆 襷 覦覯企.