subject

Write a Bash script that takes the name of a file or directory as an argument, 1. reports if it is a directory or a file, and if the user has read, write and execute permission on the
file or directory, and 2. if it is a file, reports the size of the file and the category of the file based
on its size. If the file size is greater than 1MB (1048576B), the file is a large file; if the file size is
less than or equal to 1MB (1048576B) and the file size is greater than 100KB (102400B), the file
is a medium file; otherwise, it is a small file.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
Is the process of organizing data to reduce redundancy. a. normalization b. primary keying c. specifying relationships d. duplication
Answers: 1
You know the right answer?
Write a Bash script that takes the name of a file or directory as an argument, 1. reports if it is...
Questions