Step 1: Create a file called YourFirstName_LastName_music . This file will contain information about your CD collection. Include at least 10 records.

Each record in the file should have the following fields. Use the “;” (semicolon character as a delimiter):
- Artist
- CDName
- PurchaseDate
- Cost

Step 2: Create a Bash script file called YourFirstName__LastName_L4 with a menu that lets you:
1. View the contents of the music collection file:
this option should display the entire collection

2. View the cost of the entire collection:
this option should calculate the total cost of the collection and display it. Do not hard-code the cost of the collection, you must have code to calculate it.

3. Search for all CDs from a particular artist:
this option allows to search the collection given the artist name. Make the search case insensitive. If there is a CD for the given artist name, the CD info should be displayed. If there is not such CD in the collection, then “Nothing is found for the artist specified” message should be displayed.

4. Search for all CDs purchased on a specific date:
this option allows to search the collection given the date. Make the search case insensitive. If there is a CD for the given date, the CD info should be displayed. If there is not such CD in the collection, then “Nothing is found for the date specified” message should be displayed.

5. option to Exit:
this option should confirm whether the user really wants to exit the script and if the confirmation is given then the script should be terminated. Otherwise, the script should continue running

Here's an example of how you could create the files and scripts as specified in the given steps:

1. Create a file called YourFirstName_LastName_music:

```
The Beatles;Sgt. Pepper's Lonely Hearts Club Band;2014-06-01;12.99
Pink Floyd;The Dark Side of the Moon;2011-01-01;14.99
Led Zeppelin;IV;2019-12-25;13.99
Queen;A Night at the Opera;2018-08-15;15.99
Nirvana;Nevermind;2020-02-14;11.99
The Rolling Stones;Exile on Main St.;2017-11-21;16.99
Radiohead;OK Computer;2021-03-05;14.99
Black Sabbath;Paranoid;2019-07-31;12.99
David Bowie;Ziggy Stardust;2012-05-15;17.99
Eagles;Hotel California;2016-08-08;13.99
```

2. Create a Bash script file called YourFirstName_LastName_L4:

```bash
#!/bin/bash

filename="YourFirstName_LastName_music"

while true; do
echo "Menu:"
echo "1. View the contents of the music collection file"
echo "2. View the cost of the entire collection"
echo "3. Search for all CDs from a particular artist"
echo "4. Search for all CDs purchased on a specific date"
echo "5. Exit"
read -p "Enter your choice: " choice

case $choice in
1)
cat "$filename"
;;
2)
awk -F';' '{ sum += $4 } END { printf "Total cost: $%.2f\n", sum }' "$filename"
;;
3)
read -p "Enter artist name: " artist
search_results=$(grep -i ";${artist};" "$filename")
if [ -z "$search_results" ]; then
echo "Nothing is found for the artist specified"
else
echo "$search_results"
fi
;;
4)
read -p "Enter date (YYYY-MM-DD): " date
search_results=$(grep -i "${date};" "$filename")
if [ -z "$search_results" ]; then
echo "Nothing is found for the date specified"
else
echo "$search_results"
fi
;;
5)
read -p "Do you really want to exit? (y/n): " confirm_exit
if [ "$confirm_exit" = "y" ] || [ "$confirm_exit" = "Y" ]; then
break
fi
;;
*)
echo "Invalid choice. Please enter a valid choice from the menu."
;;
esac

echo
done
```

Remember to replace "YourFirstName_LastName" with your own name. Save these files and make sure to give execution permission to your Bash script using `chmod +x YourFirstName_LastName_L4`. Then, execute the Bash script by running `./YourFirstName_LastName_L4` in your terminal.