1. Write a bash script that will accept a list of files on the command line and append each file to a new file. The name of the new file should be created from the first characters of the input files....

1. Write a bash script that will accept a list of files on the command line and append each file to a new file. The name of the new file should be created from the first characters of the input files. For example, if the input files are a.txt, b.txt, and c.txt then the new file should be abc.txt

2. Write a bash script that will accept the full path of a directory on the command line, and then remove that directory from the PATH variable. Be sure to check your PATH variable after the command has executed to make sure the change was completed.

3. Write a bash script that will accept the full path of a directory on the command line, and then add that directory AND all of its subdirectories to the PATH variable. Be sure to check your PATH variable after the command has executed to make sure the change was completed.

4. Write a bash script that will display a count of the number of directories in your PATH variable.

5. Write a bash script that will display a count of the number of your environment variables that begin with an upper case character (A through Z).



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here