Q1. Write a bash script print.sh which echoes Fedora when the user input is redhat and redhat when the user input is fedora. For every other input echo ./print.sh fedora|redhat .
Q2. Write a bash script file.sh which echoes the file file2 when the user input is file1 and file2 when the user input is file2. For every other input echo error.
Q3. Write a bash script to check which all hosts are available on your network.
No comments:
Post a Comment