![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 15.04.2020 18:37, b2cutie456
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. Use a sequence of if statements on the file name or file size to determine the information. To get the file size, use command du -b and command cut. Read their manual for how to use them.
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 13:30, alannaamarriee
Jace needs to answer a question on square roots to win a quiz. how can he use a spreadsheet to find the square root of 786? a. use the functions round and count b. create a table and chart c. use the function sqrt d. use the function now
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 15:20, yeahmaneee
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
Do you know the correct answer?
Write a Bash script that takes the name of a file or directory as an argument, 1. reports if it is a...
Questions in other subjects:
![Konu](/tpl/images/cats/istoriya.png)
History, 09.02.2021 23:20
![Konu](/tpl/images/cats/mat.png)
Mathematics, 09.02.2021 23:20
![Konu](/tpl/images/cats/mat.png)
Mathematics, 09.02.2021 23:20
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 09.02.2021 23:20
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 09.02.2021 23:20
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/geografiya.png)
Geography, 09.02.2021 23:20
![Konu](/tpl/images/cats/fr.png)
French, 09.02.2021 23:20