The script gets one command-line argument: the name of a file in the current folder. Print only the number of lines in that file, with nothing else on the line.
Every line in the file ends with a newline. An empty file has 0 lines.
Example: if notes.txt holds three lines, then bash main.sh notes.txt prints
3

The script gets one command-line argument: the name of a file in the current folder. Print **only the number of lines** in that file, with nothing else on the line. Every line in the file ends with a newline. An empty file has 0 lines. Example: if `notes.txt` holds three lines, then `bash main.sh notes.txt` prints ``` 3 ``` The current folder holds some files and no folders. Print the names of the files whose name **ends with `.txt`**, one name per line, in alphabetical order. Print only the names. A name such as `notes.txt.bak` or `mytxt` does not end with `.txt`, so it is not printed. If no file qualifies, print nothing. All names use lowercase letters only (before the dot), so the order is clear. Example: with the files `b.txt`, `a.txt` and `c.md`, print ``` a.txt b.txt ``` The script gets three arguments: a folder name `root`, and two folder names `one` and `two` (the two are different). Do this, in the current folder: 1. Create the folders `root/one` and `root/two`. 2. Create an empty file called `todo.txt` inside each of those two folders. 3. Print every path under `root` (including `root` itself) with `find`, sorted alphabetically, one per line. The folder `root` may already exist with things inside it. Keep them, they will show up in the list too. Example: `bash main.sh school maths science` prints ``` school school/maths school/maths/todo.txt school/science school/science/todo.txt ```