【資料名稱】:Solaris 8 基本操作指南
【資料作者】:Sun System
【資料日期】:2010
【資料語言】:英文
【資料格式】:PDF
【資料目錄和簡介】:
Seminar Contents
About This Course ..................................................................................................................... 1
Course Goal ................................................................................................................................................2
Course Overview .......................................................................................................................................3
Course Map .................................................................................................................................................4
Module-by-Module Overview ..................................................................................................................5
Course Objectives .......................................................................................................................................7
Skills Gained by Module ............................................................................................................................9
Guidelines for Module Pacing ................................................................................................................10
Topics Not Covered .................................................................................................................................11
Introductions ............................................................................................................................................12
How to Use the Course Materials ...........................................................................................................13
How to Use the Icons ...............................................................................................................................14
Typographical Conventions and Symbols ............................................................................................16
Introduction to the Solaris 8
Operating Environment .........................................................................................................1-1
Objectives ................................................................................................................................................ 1-2
Main Hardware Components of a Computer ..................................................................................... 1-3
The Solaris Operating Environment .................................................................................................... 1-5
The SunOS Operating System ............................................................................................................... 1-6
The kernel .......................................................................................................................................................................................1-7
The Shell .................................................................................................................................................. 1-9
The Bourne Shell .................................................................................................................................. 1-11
The C Shell ............................................................................................................................................ 1-12
The Korn Shell ...................................................................................................................................... 1-13
Exercise: Using the Solaris 8 Operating Environment ..................................................................... 1-14
Sun Educational Services
Fundamentals of Solaris 8 Operating Environment for System Administrators ii
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 2000, Revision A.1
Check Your Progress ............................................................................................................................ 1-15
Accessing the System .............................................................................................................2-1
Objectives ................................................................................................................................................ 2-2
User Accounts ......................................................................................................................................... 2-4
Logging In ............................................................................................................................................... 2-5
Logging In Using the Login Screen ...................................................................................................... 2-6
Logging In Using the Command Line ................................................................................................. 2-7
Password Requirements ........................................................................................................................ 2-8
Changing Your Password ...................................................................................................................... 2-9
Securing Your CDE Session ................................................................................................................. 2-10
Basic UNIX Commands ....................................................................................................................... 2-11
Control Characters ............................................................................................................................... 2-13
Viewing Online Documentation ......................................................................................................... 2-14
Determining Current Users ................................................................................................................. 2-15
Identifying the User Name .................................................................................................................. 2-16
Identifying User Group Details .......................................................................................................... 2-17
Entering Multiple Commands From a Single Command Line ...................................................... 2-18
Exercise: Accessing the System ........................................................................................................... 2-19
Check Your Progress ............................................................................................................................ 2-20
Accessing Files and Directories ............................................................................................3-1
Objectives ................................................................................................................................................ 3-2
The Directory Tree ................................................................................................................................. 3-3
Pathnames ............................................................................................................................................... 3-4
Absolute Pathname ................................................................................................................................ 3-6
Relative Pathname ................................................................................................................................. 3-7
File Directory and Naming Conventions ............................................................................................ 3-8
Changing Directories .............................................................................................................................. 3-9
Displaying the Current Directory ....................................................................................................... 3-10
Sun Educational Services
Fundamentals of Solaris 8 Operating Environment for System Administrators iii
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 2000, Revision A.1
Displaying the Contents of a Directory ............................................................................................. 3-11
Displaying a Long Listing .................................................................................................................... 3-12
Metacharacters ...................................................................................................................................... 3-13
Exercise: Accessing Files and Directories .......................................................................................... 3-14
Check Your Progress ............................................................................................................................ 3-15
Directory and File Commands ..............................................................................................4-1
Objectives ................................................................................................................................................ 4-2
Determining File Type ........................................................................................................................... 4-4
Browsing the Contents of a File ............................................................................................................ 4-5
Displaying the Contents of a File .......................................................................................................... 4-6
Viewing Long Files ................................................................................................................................ 4-7
Displaying the First Few Lines of a File ............................................................................................... 4-8
Displaying the Last Few Lines of a File ............................................................................................... 4-9
Displaying Lines, Words, and Characters in a File .......................................................................... 4-10
Creating Empty Files ............................................................................................................................ 4-11
Creating and Appending Files Using the tee Command .............................................................. 4-12
Creating Directories .............................................................................................................................. 4-13
Copying Files ........................................................................................................................................ 4-14
Copying Directories .............................................................................................................................. 4-15
Moving and Renaming Files ............................................................................................................... 4-16
Removing Files ..................................................................................................................................... 4-17
Removing Directories ........................................................................................................................... 4-18
Command Line Printing ...................................................................................................................... 4-19
Displaying Printer Status and Queues ............................................................................................... 4-20
Removing a Print Request ................................................................................................................... 4-21
Format and Print a File ......................................................................................................................... 4-22
Exercise: Using Directory and File Command .................................................................................. 4-23
Check Your Progress ............................................................................................................................ 4-24
Sun Educational Services
Fundamentals of Solaris 8 Operating Environment for System Administrators iv
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 2000, Revision A.1
Searching for Files and Text ..................................................................................................5-1
Objectives ................................................................................................................................................ 5-2
Locating Files Using the find Command ........................................................................................... 5-3
Arguments Used With the find Command ....................................................................................... 5-4
Expressions Used With the find Command ...................................................................................... 5-5
Actions Used With the find Command .............................................................................................. 5-6
Locating Text Differences Using the cmp Command ......................................................................... 5-7
Locating Text Differences Using the diff Command ....................................................................... 5-8
Sorting Data ............................................................................................................................................ 5-9
Searching for Text in Files Using the grep Command .................................................................... 5-10
Searching for Text in Files Using the egrep Command .................................................................. 5-11
Searching for Text in Files Using the fgrep Command .................................................................. 5-12
Exercise: Locating Files and Text ........................................................................................................ 5-13
Check Your Progress ............................................................................................................................ 5-14
File Security .............................................................................................................................6-1
Objectives ................................................................................................................................................ 6-2
Security Overview ................................................................................................................................. 6-3
Viewing File and Directory Permissions ............................................................................................. 6-4
Permission Categories ............................................................................................................................ 6-5
Determining Access to a File or Directory .......................................................................................... 6-6
Process for Determining Permissions .................................................................................................. 6-7
Types of Permissions .............................................................................................................................. 6-8
Changing Permissions .......................................................................................................................... 6-10
Permissions Assigned Octal Value ..................................................................................................... 6-12
Octal Digits for Permission Sets .......................................................................................................... 6-13
Combined Values and Permissions .................................................................................................... 6-14
Default Permissions and the umask filter .................................................................................................................... 6-15
Exercise: Changing File Permissions .................................................................................................. 6-16
Check Your Progress ............................................................................................................................ 6-17
Sun Educational Services
Fundamentals of Solaris 8 Operating Environment for System Administrators v
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 2000, Revision A.1
Visual (vi) Editor ...................................................................................................................7-1
Objectives ................................................................................................................................................ 7-2
Introduction to vi .....................................................................................................................................................................7-4
vi Modes ................................................................................................................................................. 7-5
Command Mode .................................................................................................................................... 7-6
Edit Mode ................................................................................................................................................ 7-7
Last Line Mode ....................................................................................................................................... 7-8
Invoking vi ..................................................................................................................................................................................7-9
Customizing Your vi Session ............................................................................................................. 7-10
Exercise: Using the vi Editor .............................................................................................................. 7-12
Check Your Progress ............................................................................................................................ 7-13
Archiving User Data ..............................................................................................................8-1
Objectives ................................................................................................................................................ 8-2
Overview of Archive Commands ......................................................................................................... 8-5
Archiving Files Using the tar Command ........................................................................................... 8-7
Compressing Files Using the compress Command .......................................................................... 8-8
Uncompressing Files Using the uncompress Command ................................................................. 8-9
Viewing Files Using the zcat Command ........................................................................................ 8-10
Using the gzip Command ................................................................................................................... 8-11
Restoring a gzip File with gunzip ..................................................................................................... 8-12
Using the zip Command ..................................................................................................................... 8-13
Compressing Files Using the jar Command ................................................................................... 8-14
The cpio Command ............................................................................................................................. 8-15
Detecting Removable Media Devices ................................................................................................ 8-16
Exercise: Saving and Restoring Files .................................................................................................. 8-17
Check Your Progress ............................................................................................................................ 8-18
Remote Connections ..............................................................................................................9-1
Objectives ................................................................................................................................................ 9-2
Sun Educational Services
Fundamentals of Solaris 8 Operating Environment for System Administrators vi
Copyright 2000 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 2000, Revision A.1
Example Networking Environment ..................................................................................................... 9-3
Network ................................................................................................................................................... 9-4
Host .......................................................................................................................................................... 9-5
Using the telnet Command ................................................................................................................ 9-6
Using the rlogin Command ................................................................................................................ 9-7
Specifying a Different Login ID ............................................................................................................ 9-8
Using the rsh Command ....................................................................................................................... 9-9
Using the rcp Command ..................................................................................................................... 9-10
Using the ftp Command ..................................................................................................................... 9-11
Exercise: Performing Network Basics ................................................................................................ 9-12
Check Your Progress ............................................................................................................................ 9-13
System Processes ..................................................................................................................10-1
Objectives .............................................................................................................................................. 10-2
Process UID and GID ........................................................................................................................... 10-3
Viewing Processes and PIDs ............................................................................................................... 10-4
Displaying a Full Listing of All Processes ......................................................................................... 10-5
The pgrep Command ........................................................................................................................... 10-6
The kill Command ............................................................................................................................. 10-7
The pkill Command ........................................................................................................................... 10-8
Exercise: Manipulating System Processes ......................................................................................... 10-9
Check Your Progress .......................................................................................................................... 10-10
The Korn Shell .......................................................................................................................11-1
Objectives .............................................................................................................................................. 11-2
The Shell as a Command Interpreter ................................................................................................. 11-5
掃碼關(guān)注5G通信官方公眾號(hào),免費(fèi)領(lǐng)取以下5G精品資料
1、回復(fù)“YD5GAI”免費(fèi)領(lǐng)取《中國移動(dòng):5G網(wǎng)絡(luò)AI應(yīng)用典型場景技術(shù)解決方案白皮書》
2、回復(fù)“5G6G”免費(fèi)領(lǐng)取《5G_6G毫米波測試技術(shù)白皮書-2022_03-21》
3、回復(fù)“YD6G”免費(fèi)領(lǐng)取《中國移動(dòng):6G至簡無線接入網(wǎng)白皮書》
4、回復(fù)“LTBPS”免費(fèi)領(lǐng)取《《中國聯(lián)通5G終端白皮書》》
5、回復(fù)“ZGDX”免費(fèi)領(lǐng)取《中國電信5G NTN技術(shù)白皮書》
6、回復(fù)“TXSB”免費(fèi)領(lǐng)取《通信設(shè)備安裝工程施工工藝圖解》
7、回復(fù)“YDSL”免費(fèi)領(lǐng)取《中國移動(dòng)算力并網(wǎng)白皮書》
8、回復(fù)“5GX3”免費(fèi)領(lǐng)取《 R16 23501-g60 5G的系統(tǒng)架構(gòu)1》
|