2. With HW1Directory as the working directory, give the output of each of the following commands and a brief (~ one sentence) description of what the effect of the command is. echo * echo memo* echo *08 echo ????? echo *.* echo *[!0-9] echo m[a-df-z]* The file is a directory that contains the following filenames. It is *.txt file feb06 jan05 jan5 jan06 jan07 jan08 jan12 jan19 jan26 mar08 memo memo1 memo2 memo2.sv
2.
With HW1Directory as the working directory, give the output of each of the following commands and a brief (~ one sentence) description of what the effect of the command is.
- echo *
- echo memo*
- echo *08
- echo ?????
- echo *.*
- echo *[!0-9]
- echo m[a-df-z]*
The file is a directory that contains the following filenames. It is *.txt file
feb06
jan05
jan5
jan06
jan07
jan08
jan12
jan19
jan26
mar08
memo
memo1
memo2
memo2.sv
Note: since your question contain multiple sub-parts but we can answer only 3-sub part at a time due to company guidelines. but we have provided 5-parts for you.
1. echo * : It will print complete content of file
output
2. echo memo* : it will print all stings that matches with memo..(given string)
output:
memo
memo1
memo2
memo2.sv
Step by step
Solved in 2 steps with 1 images