DispersedNet
SiteMap
Unix Concepts
Shell Programming
Shell Scripting
Unix Questions
Unix Commands
«Prev
Next»
Shell Programming
Shell Processes
login Shell
Define Unix Process
Starting Other Shells
Parent Child Processes
3 Ways Shell Script
Specify Shell Script
Unix Path Variable
Shell Script Conclusion
Embedded Commands
Defining embedded Execution
Embedded Command Syntax
Application Embedded Execution
Date Command Options
forLoop Embedded Execution
insert Carriage Return
embedded Command Conclusion
Unix Commands
Find Command
wc Command
sort Command
read in Variables
Sleep Clear Commands
Grep Command
coption to grep
tee Command
Shell Script
Debugging Shell Scripts
Tracing Shell Scripts
Handling Errors
Printing Progress
Writing Shell Functions
Tracing Shell Scripts - Exercise
Tracing shell scripts
Tracing options
Objective:
Run a shell script with tracing options
Exercise scoring
This exercise is auto-scored and is worth 2 points.
Download files
You have access to the error3 script in your shell account.
Instructions
Log in to your shell account and run the error3 script with the following options: 1. Run error3 with the
–v
option to see the lines before they are run.
2. Run error3 with the
–x
option to see the lines with their variables translated.
3. Run error3 with the
–xv
options together.
4. Correct the error, by changing the
sort
command variable to column instead of col. Run the error3 script again to verify that it works correctly.
Submitting your exercise