Table of Contents Previous Chapter Some Useful Tools.

Some Useful Tools.

3 Some Useful Tools.

3.1 Essential system administration tools.

3.2 Unix Manuals

Table 1: Unix Manual Sections 
-------------------------------------------------------------
Contents                                 BSD       System V    
                                         Sections  Sections    
-------------------------------------------------------------
User Commands                            1         1           
System Calls                             2         2           
C and other library routines             3         3           
Special files, device drivers, hardware  4         7           
Configuration files                      5         4           
Games                                    6         6 or 1 or   
                                                   NA          
Miscellaneous commands                   7         5           
Administration commands                  8         1M          
Maintenance commands                     8         8           
Local commands                           l         l           
-------------------------------------------------------------

3.3 ps command (System V)

Common options:

Meaning of full listing columns:

3.4 ps command (BSD)

Common options:

Meaning of user information columns:

Here is an example of the output of ps under SunOS (System V style).

3.5 find command

# find starting-dir(s) matching-criteria-and-actions
Matching criteria

Actions

3.6 find examples

# find . -name \*.c -print
# find / -size +1000 -mtime +30 \
 -exec ls -l {} \;
# find / \( -name a.out -o -name core \
 -o -name '#*#' \) -type f -atime +14 \
 -exec rm -f {} \; -o -fstype nfs -prune
(Removes unnecessary files that are older than two weeks old, but doesn't descend NFS mounted file systems while searching)

# find / \( -perm 2000 -o -perm 4000 \) \ 
-print | diff - files.secure
(Does a difference on all file names that have SUID or SGID permissions against a pre-defined list of files)

3.7 Other helpful tools and resources.

3.7.1 Web based Unix System Administration resources

3.7.2 Programming aids, utilities, and other tools

3.7.3 Usenet newsgroups

... and their Frequently Asked Questions (FAQ) files.(See also the Usenet Hypertext FAQ Archive)
Read Usenet news with the "rn", "trn", "nn", or "tin" newsreaders (among others)

3.7.4 Operating system specific security FAQs

3.7.5 Vendor sources

3.7.6 Electronic mailing lists

(Here are some lists to consider)

3.7.7 User groups/organizations

3.8 Example Problems and Reading

 
Table of Contents Next Chapter