0% found this document useful (0 votes)
3 views

OS LAB

The document lists basic shell scripting programs, including tasks such as printing 'Hello World', performing arithmetic operations, checking number properties, and generating various patterns. It provides a total of ten different programs that cover fundamental programming concepts. Each program serves as a simple exercise for learning shell scripting.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

OS LAB

The document lists basic shell scripting programs, including tasks such as printing 'Hello World', performing arithmetic operations, checking number properties, and generating various patterns. It provides a total of ten different programs that cover fundamental programming concepts. Each program serves as a simple exercise for learning shell scripting.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Basic shell scripting programs.

1. Print Hello World program


2. Add two integers program
3. Multiply two integers program
4. Divide two integers program
5. Program to check whether a number is positive or negative
6. Program to find the greatest of two numbers
7. Program to print 1-10 integer
8. Program to print the pattern

*
**
***
****
9. Program to print the pattern
1
12
123
1234
12345
10. Program to print the pattern
1
12
123
1234
12345

You might also like