Wednesday, January 14, 2009

UNIX & Linux programs

1 Write a program in UNIX to calculate the area and perimeter of the rectangle, and the area and circumference of the circle.

2 Program in UNIX to calculate the sum of digits

3 Program in UNIX to calculate gross salary

4 Program in UNIX to determine whether the seller has made profit or incurred loss

5 Program in UNIX to find out whether it is an odd number or even number

6 UNIX Program to calculate the division obtained by the student

7 Program in UNIX to determine whether the year is a leap year or not

8 Program in UNIX to find out at how many terminals has this user logged in

9 Program in UNIX to display number of days in that month

10 Program in UNIX to convert Kilometers and print this distance in meters, feet, inches and centimeters.

11 UNIX program to generate following series1,3,2,4,3,5,4,6,----100

12 UNIX Program to find GCD and LCM of these number

13 UNIX program to check whether every argument supplied is a file or a directory

14 UNIX Program to display a list of all files in the current directory with permission

15 UNIX program to print the multiplication table

16 Program in UNIX - File copy

17 Program in UNIX - Filename displayed

18 Program in UNIX which checks after every one-minute whether user has logged in or not

19 UNIX Program to check the entered word starts with vowel, ends with a digit or it is just three-letter word

20 Program in UNIX - File size to be displayed

21 Program in UNIX to compute factorial of a positive integer

22Program in UNIX which accepts three sides of triangle and check triangle can be formed or not.

23 Program in UNIX to check entered year is leap year or not

24 Programin UNIX to identify all zero byte files in the current directory and delete them

25 Program in UNIX to reverse the entered number.

26 Program in UNIX to check entered number is prime or not.

27 Program in UNIX to print prime number series.

28 Program in UNIX to check entered number is Armstrom number or not

29 Program in UNIX to check entered number is perfect or not

30 Program in UNIX to check entered string is palindrome or not

31 Program in UNIX to validate the date

32 Program in UNIX rename which will rename files in the current directory according to the following arguments: suffix to be replaced

33 Program in UNIX to display processes in the system every 30 seconds five times using a while loop

UNIX & Linux programsSocialTwist Tell-a-Friend

0 comments: