1.Write a Bash shell script which to display the information shown below. Before each piece of…
1.Write a Bash shell script which to display the information shown below. Before each piece of information is displayed, print a heading.
Today’s date is:
My login name is:
My current directory is:
My home directory is:
2. Write a Bash shell script that prompts the user for the name of the new directory and then creates this directory as a subdirectory of the working directory. Creates a file with the same name but with the extension .txt.
3. Write a Bash shell script program that takes two integer arguments.The output of the program is a counting of integers by 2 beginning at the first integer and ending with the second integer.Delay (sleep) ½ second between printing numbers.If the second integer is smaller than the first. Print an error message, “Only counting up.”
User types in hw3c.sh 5 12
4. Write a Bash shell script that asks for the name of a file or directory and reports if it exists in the current working directory and if it is a file or a directory.