Einstein - simple Shell scripts
Upload the following scripts to Einstein until you pass all the tests.
Scripts must use the names below.
(The names are clues!)
- ls3.sh
-
List files ending in "html" in current directory.
- ls4.sh
-
List files ending in "html" in all sub-directories of current directory.
- ls5.sh
-
List files beginning with "act1" in all sub-directories of current directory and sort them by size.
- du2.sh
-
List all directories below current directory and sort them by size.
- find2.sh
- Find all directories below the current directory that include the string "he".
- grep4.sh
- Search for the string "Dublin" in any case in all files ending in "html" in sub-directories of the current directory.