Steps for Script
-
Copy bother10.sh from /home/ckelly/course_files/it244_files
to your hw07 directory.
Run this program in the background redirecting output to /dev/null.
Be sure you copy and run bother10.sh, NOT bother.sh.
-
Run a command that shows the job number of the process running bother10.sh.
-
Run a command that shows the process ID of the process running bother10.sh.
-
Copy the script make_foo.sh from ~ckelly/course_files/it244_files
to your current directory.
Run this script.
Using touch, create the file foo.txt.
Perform a long listing of all files whose name starts with the string "foo" using meta-characters.
-
Using meta-characters, perform a long listing of all files whose name starts with the string "foo",
followed by a single character, followed by .txt .
-
Using meta-characters, perform a long listing of all files whose name starts with the string "foo",
followed by a single digit, either 1, 3 or 5, followed by .txt .
-
Using meta-characters, perform a long listing of all files whose name starts with the string "foo",
followed by a single digit from 1 through 5 followed by .txt . Do this using the range feature of one of the meta-characters.
-
Using meta-characters, perform a long listing of all files whose name starts with the string "foo" followed by a single digit, not 1, nor 3 nor 5, followed by .txt .
-
Using meta-characters, perform a long listing of all files whose name starts with the string "foo" followed by two digits followed by .txt .
-
Using meta-characters, perform a long listing of the files foo21.txt, foo25.txt
and foo29.txt. This must be done using a single command.