Exercise: The [[ Operator and Directories
Put into practice what we’ve learned about the [[ operator.
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 1300+ tech skills courses.