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 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
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
Mathematics, 24.09.2019 08:00
question
Chemistry, 24.09.2019 08:00
question
Chemistry, 24.09.2019 08:00
question
Mathematics, 24.09.2019 08:00
question
Mathematics, 24.09.2019 08:00
question
Mathematics, 24.09.2019 08:00
question
Mathematics, 24.09.2019 08:00