C Shell Programming

LENGTH OF COURSE:
5 Days

DESCRIPTION: This course will show the student how to use the C Shell effectively and will explain its features. Upon completion, the student will be able to write moderately complex C Shell programs.

PREREQUISITES: Unix Fundamentals

INSTRUCTION TECHNIQUES: This course uses a combination of Lecture, Labs and Demostrations.

AUDIENCE

A hands on course from which a student will take home numerous interesting scripts.
KEY HIGHLIGHTS:

  • Introduction
    • Using the Examples
    • Selecting a Login Shell
    • Before You Read Further
  • A Shell Primer
    • Entering Commands
    • Command Input and Output
    • Files and Directories
    • Combining Commands
    • Running Commands in the Background
    • When Do Spaces Matter?
    • The Shell Startup Files
  • Using the Shell Effectively
    • Using Filenames
    • Reusing and Editing Commands
    • Creating Command Shortcuts
    • Using Command Substitution
    • Navigating the File System
    • Using Your Prompt
    • Using Job Control
  • The Shell Startup Files
    • Startup and Shutdown Files
    • Getting To Know .cshrc and .login
    • Modifying .cshrc and .login
    • Using Variables
    • Organizing Your Startup Files
    • The .logout File
  • Setting Up Your Terminal
    • Identifying Your Terminal Settings
    • What the Settings Mean
    • Changing Your Terminal Settings
    • Did Your Terminal Stop Working?
  • Using Your Command History
    • The History List
    • Reviewing Your History
    • Using Commands from Your History
    • Event Specifiers
    • Word Designators
    • Event Modifiers
    • Making History Persist Across Login Sessions
  • The tcsh Command-Line Editor
    • Editing a Command
    • Command Key Bindings
    • emacs Editing Mode
    • vi Editing Mode
    • Examining and Modifying Key Bindings
  • Using Aliases To Create Command Shortcuts
    • Defining Aliases
    • Uses for Aliases
    • Using Sets of Aliases
  • File-Naming Shortcuts
    • Using Filename Patterns
    • Using {} To Generate Arguments
    • Directory Naming Shorthand
  • Filename and Programmed Completion
    • Using Built-In Filename Completion
    • Programmed Completions
    • Syntax of the complete Command
    • Displaying and Removing Programmed Completions
    • When Programmed Completions Do Not Apply
  • Quoting and Special Characters
    • Special Characters
    • The Shell's Quote Characters
    • Referring to Files with Problematic Names
    • Passing Special Characters to Commands
    • Using Partial Quoting
    • Quoting Oddities
  • Using Commands To Generate Arguments
    • Command Substitution
    • Repeating Substituted Commands
    • Deferred Command Substitution
    • When To Avoid Command Substitution
  • Navigating the File System
    • Moving Around
    • Working in Multiple Locations
    • Letting the Shell Find Directories for You
    • Using Aliases and Variables To Move Around
  • Keeping Track of Where You Are
    • Types of Location Reporting
    • Displaying Your Location in the Prompt
    • Display Your Location in the Window Title
    • Putting It All Together
    • Displaying Other Types of Information
  • Job Control
    • Job States
    • Obtaining Job Information
    • Changing a Job's State
    • Other Applications of Job Control
    • Job Control and Window Systems

Return to Home Page.
Return to Alphabetic Listing of Courses.
Return to Courses by Subject.
Request More Information or Contact Us.