0% found this document useful (0 votes)
4 views1 page

Script Programming

The document outlines six tasks for writing shell scripts. These tasks include displaying system information, generating a Fibonacci series, checking for palindromes, counting file contents, verifying file or directory existence, and creating a menu-driven program for file operations. Each task focuses on fundamental scripting skills in a Unix-like environment.

Uploaded by

rupak.c
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Script Programming

The document outlines six tasks for writing shell scripts. These tasks include displaying system information, generating a Fibonacci series, checking for palindromes, counting file contents, verifying file or directory existence, and creating a menu-driven program for file operations. Each task focuses on fundamental scripting skills in a Unix-like environment.

Uploaded by

rupak.c
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1.

Write a shell script to display the current date, time,


username, and present working directory.
2. Write a shell script to generate the Fibonacci series up to n
terms.
3. Write a shell script to check whether a given string is a
palindrome.
4. Write a shell script to count the number of lines, words, and
characters in a file.
5. Write a shell script to check whether a file or directory exists.
6. Write a shell script to implement a simple menu-driven
program (e.g., file operations like create,
delete, copy, move).

You might also like