Question: Write a bash script that includes a function, called cowSpeak. The script should 1) Get a list of all the files in the current directory
Write a bash script that includes a function, called cowSpeak. The script should 1) Get a list of all the files in the current directory 2) If the file is 5 characters or less in file length, use cowSpeak to echo the file name using cowsay 3) Otherwise, the file name should be echoed without cowsay, but with lolcat for coloration
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
