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, 23.06.2019 03:10
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e.g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
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
Physics, 09.09.2021 21:10
question
English, 09.09.2021 21:10
question
Mathematics, 09.09.2021 21:10
Questions on the website: 13722361