Solaris
Welcome to my Solaris 10 notes
Components of Sun OS
Three components of Sun OS
- Kernel - the core of Sun OS and manages all physical resources of the computer
- Shell - a command interpreter and interfaces between user and kernel
- Directory Hierarchy
Default shells
Sun OS default primary shells:
- Bourne shell - original unix system shell and default for root user. regular user prompt is $ and root is #
- C shell - command line history, aliasing, and job control. default regular user is hostname% and root is hostname#
- Korn Shell - superset of Bourne shell plus C shell like features and enhancements. command line history, aliasing, job control, and command line editing default regular prompt is $ and root is #
Sun OS contains three alternative shells:
- Bash shell - GNU project Bourne Again SHell is bourne compatible shell that contains handy features from Korn and C shell.
- Z shell - resembles Korn shell plus enhancements
- TC shell - C compatible shell plus enhancements
Logging into Sun OS
All users must log into system
Desktop login
Use direct login or options
password requirements 6-8 characters, contain at least two alpha characters and one numerical or special character. cannot be same as user login name, different than last password by at least three characters, reverse of user login name password requirements don't apply to root user or regular user password set by root user
Desktop Environment
Solaris 10 includes Common Desktop Environment (CDE) and Java Desktop System (JDS) desktop environments.
Command Line
Run command line in a terminal window
Use Unix system commands to instruct the computing system to perform specific tasks
Commands can be executed with or without options or arguments
Unix command syntax is the order and structure of command line components.
Unix command line syntax = [command] [options] [arguments]
- command determines what system will execute
- option determines how command will run and always begins with - and are case sensitive, can use multiple options, combine options into one - or use a - for each option
- argument determines what command will affect
Multiple commands can be entered on one command line by using semi-colon(;) between each command.
Basic Solaris 10 commands
<populate>
man pages
display man page by typing man command
Syntax:
- $ man command
- $ man option command
- $ man option filename
- Space bar = page forward
- Return = line forward
- b = page backward
- /pattern = to perform a forward pattern search
- n = to move to next pattern match, must be proceeded with /pattern search
- h = provides navigation help
- q = quit man page
Searching man pages
This searches all man pages. To search while inside a man page see Navigating a man page pattern search.
Search by section syntax:
- man -s number [command|filename]
Search by keyword syntax:
- man -k keyword