The script gets two arguments: the name of an existing file (or a path to it) target, and a name link that does not exist yet. Create a symbolic link called link that points to target, then print the contents of the file by reading it through link.
Example: hello.txt holds the line hi there. bash main.sh hello.txt greet prints
hi there

The script gets two arguments: the name of an existing file (or a path to it) `target`, and a name `link` that does not exist yet. Create a **symbolic link** called `link` that points to `target`, then print the contents of the file by reading it through `link`. Example: `hello.txt` holds the line `hi there`. `bash main.sh hello.txt greet` prints ``` hi there ``` The script gets two arguments: the name of an existing regular file, and a permission mode written as three octal digits (like `640`). Set that mode on the file with `chmod`, then print the permission string of the file the way `ls -l` shows it at the start of a line, for example `-rw-r-----` (ten characters, no file name). Example: `bash main.sh a.txt 640` prints ``` -rw-r----- ``` The script gets a file name `f` (an existing file) and then any number of further arguments, which are new names. Make each new name a **hard link** to `f`. Then print the number of hard links that `f` now has (just the number). A new file has 1 link (its own name). With no further arguments, print 1. Example: `bash main.sh a.txt b.txt c.txt` prints ``` 3 ```