Академический Документы
Профессиональный Документы
Культура Документы
DOCUMENT HISTORY
Published Date Supersedes
12/9/2021
Table of Contents
TABLE OF CONTENTS 1
OVERVIEW/PURPOSE 1
LIMITATIONS 1
3 EXAMPLES OF USAGE2
REFERENCES: 2
2
Published Date: 12/9/2021 1
Overview/Purpose
This document is intended to provide a user with sufficient Unix skills to perform some of the basic
operational tasks required by a Unix administrator at CSUCO.
Limitations
Currently, this document is limited to Red Hat Linux and Solaris systems.
2
visudo # Edit sudoers file
/etc/passwd
/etc/profile
/etc/default
/etc/hosts
/etc/inittab
/etc/init.d
/etc/group
/etc/nsswitch.conf
/etc/resolv.conf
/etc/services
/etc/shadow
/etc/vfstab #Solaris
/etc/fstab #RHEL
Important directories:
/var/adm
/var/log
/etc/inet # Solaris
/etc/sysconfig/network-scripts #RHEL
/etc/sysconfig/network #RHEL
/proc #RHEL & Sol 10
On a Sun server, check the version of the Solaris kernel and the so-called “cluster” of the
Solaris Operating Environment
coweuepm01-root:/> uname -a
SunOS coweuepm01 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V890
coweuepm01-root:/> cat /var/sadm/system/admin/CLUSTER
CLUSTER=SUNWCXall
On a Sun server, check the update version of Solaris (the example below is “Solaris 10,
11/06, Update 3”):
$ id
uid=118(myee) gid=10(wheel) groups=10(wheel)
cd # Change directory
chmod # Change file access permissions
chown # Change file owner and group
cp # Copy files and directories
crontab # Maintain user crontabs (scheduling
commands)
df # Report disk usage
grep # Pattern matching utility
4
ifconfig # Configure/view network interface
ln # Make links between files
ls # List directory contents
man # Unix help pages
mv # Move/rename files and directories
netstat # Print network connections, routing tables
/etc/passwd
/etc/profile
/etc/default
/etc/hosts
/etc/inittab
/etc/init.d
/etc/group
/etc/nsswitch.conf
Important directories:
/var/adm
/var/log
/etc/inet # Solaris
/etc/sysconfig/network-scripts #RHEL
/etc/sysconfig/network #RHEL
/proc #RHEL & Sol 10
References:
Link to a useful cross reference guide: http://unixguide.net/unixguide.pdf