subject

Write a bash shell script that will display the total number of files, within a given di- rectory, whose names start with b and consist of exactly 5 characters. the name of the directory is given as command line argument at the shell prompt.
a sample run:
> testscript /bin/
4
> testscript /usr/include/
1
there are 4 matches in the /bin directory and 1 in the /usr/include directory.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
You know the right answer?
Write a bash shell script that will display the total number of files, within a given di- rectory, w...
Questions
question
Mathematics, 06.10.2021 14:00
question
Mathematics, 06.10.2021 14:00
question
Mathematics, 06.10.2021 14:00
question
Mathematics, 06.10.2021 14:00
question
History, 06.10.2021 14:00
question
Mathematics, 06.10.2021 14:00
question
Physics, 06.10.2021 14:00
Questions on the website: 13722359