Technology Driven IT Training Longstanding IT Technologists Computer Education Techniques
Distance-learning - Linux/UNIX: Shell Programming


distance-learning center

Computer-Device_Tethered-Distance-learning Distance-learning-Building

Professional Distance-learning

IT Training Services


Linux/UNIX: Shell Programming
DURATION: 3 days

FEE: $1,485

Based upon a class size of six students.

Scheduling can be adjusted to employee work hours and incorporate client assignments.

There is a surcharge associated with training two or fewer students.


  • Programmer
  • System Analyst
  • System Designer
  • IT Professional


    1. Basic Commands
      • Display the PATH setting.
      • Dump the content of a file to the console.
    2. File Commands
      • Search a file for a string.
      • Compare two files.
    3. Shell Coding Fundamentals
      • Become familiar with the function and purpose of environmental variables.
      • Display and change the values in an environmental variable.
      • Display the values in all environmental variables.
      • Create a file-script which supplies commands and run the script.
    4. Bourne Shell Programming
      • Basic elements of a script.
      • Code a simple mathematical expression.
      • Code a basic loop and a conditional termination of the program.
      • The exercise will use two built-in variables.
      • Work with conditional expressions.
      • Code and test a compound conditional if statement.
      • Code and test a nested if statement.
      • Determine whether a user is a superuser.
    5. Korn Shell Fundamentals
      • Create a function to display uptime.
      • Code and test the home_space function to display the amount of space each user is using in the home directory.
      • Code and utilize loops in a script.
      • Code logic using a while statement and then convert it to a for statement.
      • Develop techniques for breaking out of a loop.
      • Create and utilize regular expressions.
      • Develop the code for a basic equal string comparison condition.
    6. Customizing the Environment
      • Modify the default login to change the command prompt.
      • Explore the content of /etc/profile file.
      • Setup a set of aliases for your personal preference.
    7. Korn Shell: Functions, Variables, and Operators
      • Use of parameters and shell variables.
      • Code a routine to determine if a shell variable exists.
      • Code an expression and assign the results to a variable.
      • Write a script that will echo the third parameter; if the parameter is present.
      • Write a script that will recognize whether a word entered from the keyboard starts with an upper or lower case character or a digit.
      • Use the system utilities to perform various file manipulation tasks.
      • Use sed to code a script which will create an extract of a file.
      • Code a script to read a file and display the file with sequence numbers at the end of the line.
      • Code a script to read a file and update specific records in the file.
    8. Korn Shell Programming
      • Use regular expressions in a string comparison for locating files with a string containing a pattern.
      • Code scripts for dealing with file searching and manipulation.
      • Search the system for large files and execute a script on each file.
      • Code a script to determine if disk space is running low and memory usage is high.
      • If either condition has occurred, send a message to the system administrator.
      • Append the date and time to the last line of the backup file.
      • Create a script that copies the file /etc/passwd file into the home directory.
      • Append the date and time to the last line of the backup file name.
      • Code a script to display all the usernames on the system and which shell each is using.
      • Given a file of numbers consisting of a single number per line, write a script that will locate the lowest and highest number.
      • Write a script that will first verify if a file exists.

    Web-based Training   Blended Learning    


Effective February 27, 2012, the course dates listed on the SYS-ED schedules only will be available based upon approved and authorized user ID.

Copyright Acknowledgement: The software product(s) listed in this outline are owned and copyrighted by their respective companies. SYS-ED makes no representation regarding ownership in any of the software products that we train on.

SYS-ED courses are not intended for or open to the general public. They are intended for employees of Fortune 1000 companies, government municipalities, consulting companies, software, companies, healthcare providers. and mid-sized businesses. Individuals attending such courses will be required to execute a statement acknowledging that the employer will be paying for the SYS-ED course and that the employer has a licensed version of the software.