Exercise: The [[ Operator and Directories

Put into practice what we’ve learned about the [[ operator.

We'll cover the following

Exercise

Write a script to compare two directories named dir1 and dir2. The script should print all files from one directory that are absent in the other one.

Get hands-on with 1400+ tech skills courses.