- Linux OS (preferably Ubuntu)
- Bash Shell
Run the file as ./1.sh
and then input the <filename>
and the output will be printed on the screen.
Run the file as ./2.sh
and then input the <filename>
and the output will be redirected to a file named speech.txt.
Run the file as ./3.sh
and then input the <filename>
and the output will get printed on the screen.
The output to all the files will be printed on the screen with a gap of 1 line.
Run the file as ./4.sh
and then input the array with commas between two different inputs to the array.
The output of sorted array will be printed on the screen.
Run the file as ./5.sh
and then input a name. The output will be printed on the screen.
The output to all the 3 parts will be printed on the screen with a gap of 1 line.