Parent Child Processes
3 Ways Shell Script
Specify Shell Script
Define Unix Process
Date Command Options
Embedded Command Syntax
Unix File Types
Debugging Shell Scripts
WC Command - Exercise
Practice finding files and listing file size
This exercise is auto-scored and is worth 4 points.
Find the file named clothes in your home directory.
1. Write a command using the
option with the
command to display the number of lines in the clothes file.
2. Write a command to copy the number of lines in the file called clothes into the variable line count. Use embedded command execution.
3. Write a command to display the location of the volleyball file. Start your search in your home directory.
4. Write a command to display all the directories owned by user bin. This time, start your search in the /etc directory.
Submitting your exercise
This exercise is auto-scored; when you complete the exercise, click the
button to receive full credit.