Question
1.Write a shell script that takes directory name and a file extension as parameters, creates a directory with the specified name and moves all files
1.Write a shell script that takes directory name and a file extension as parameters, creates a directory with the specified name and moves all files with the specified extension from the current directory to the new one.
2.Write a shell script that takes a number and a character ('C' or 'F') as parameters and converts that number from Celsius to Fahrenheit (if 'C' is passed) or vice versa (if 'F' is passed). If the number of parameters passed is not equal to 2, your script displays a usage note: "temp.sh
3.Write a shell script that takes no more than 5 numbers as parameters and prints the largest of them.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started