Hi, I'm fairly new to scripting and Unix. I'm having trouble printing the number of directories and number of files in all the directories in 2 columns using scripts.
#!/bin/bash
echo "# of Directories --------- # of Messages/Files "
numDir= $(find . -type d | wc -l)
numMsg= $(find . -type f | wc -l)
echo " $numDir ----------- $numMsg "
Everytime I try to run it using ./count.bash, it gives me an error of