In a file named Data each line has the format (where the nam…

In a file named Data each line has the format (where the names are only letters and the age is a number: lastName:firstName:age   Write a line in bash that would replace the : with a comma in our file, but redirect the output to a new file called DifferentSeparator.  

Write a script that takes in a single argument, which is a s…

Write a script that takes in a single argument, which is a string of words separated separated by colons. For example, a possible input would be “The:cat:and:the:hat”. Your script should tokenize that string and search your current directory for any file with any of those names. For example, given the string above, your code would look for strings named exactly “The” or “cat” or “and”, etc and sum up the total that match.

Suppose in your home directory, you have two folders, named…

Suppose in your home directory, you have two folders, named proj1 and proj2. In proj1 you have the subfolder proj3 which contains a file called out.data.  In proj2 you have a subdirectory called proj4 with the file out.txt in it. Assuming you are in the proj4 directory, give me a command to copy out.data to your current location.