subject

Write a case condition that:

store the file name by default in $file or you may read it as input argument while running the script.

case 1- checks if file is a directory

case 3- file is a regular file

case 2- if a file is readable

case 3- if file is writeable

problem 5: write a shell script that reads a filename; and verifies the file extension to be text/

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
question
Computers and Technology, 24.06.2019 12:30
Do you think media is stereotype ? and why?
Answers: 1
You know the right answer?
Write a case condition that:

store the file name by default in $file or you may read it...
Questions
question
English, 01.12.2020 20:50
question
Health, 01.12.2020 20:50
question
English, 01.12.2020 20:50
question
Mathematics, 01.12.2020 20:50
question
Mathematics, 01.12.2020 20:50
Questions on the website: 13722359