CSE2005 LAB: Submitted By: Abhishek Kandel (19BCE2629)
CSE2005 LAB: Submitted By: Abhishek Kandel (19BCE2629)
1. Write a shell script to find the sum of first ‘N’ numbers in Fibonacci series (use for loop)
Output:
2. Write a shell script to print a given number in reverse order and sum of the individual digits.
Output:
3. Write a shell script to accept one integer argument and print its multiplication table.
4. Write a Shell Script that makes use of grep to isolate the line in /etc/passwd that contains your
login details.
Output:
5. Using shell script, display the contents of the present working directory. If it is an ordinary file
print its permission and change the permissions to r--r--r—
Output:
THANK YOU!!!