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, 21.06.2019 22:00
What do the principles of notice, choice, onward transfer, and access closely apply to? a. privacyb. identificationc. retentiond. classification
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
Once the data center routes to the destination server that hosts the website, what's the next step in the internet process? user’s browser renders html code from destination server into web page request goes through router/model and isp request routed to nameserver and datacenter
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
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, 01.04.2021 21:40
question
Mathematics, 01.04.2021 21:40
Questions on the website: 13722362