Headlines
Loading...
Recently Updated
Program in UNIX to reverse the entered number.

Program in UNIX to reverse the entered number.

Write a shell script to reverse the entered number.(e.g. if user enters the number 123 then the out…
Programin UNIX to identify all zero byte files in the current directory and delete them

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

Write a shell script to identify all zero byte files in the current directory and delete them. Befo…
Program in UNIX to check entered year is leap year or not

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

Write a shell script to check entered year is leap year or not echo "enter a year" read y 
i…
program in UNIX which accepts three sides of triangle and check triangle can be formed or not.

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

Write a shell script which accepts three sides of triangle and check triangle can be formed or not. …
Program in UNIX to compute factorial of a positive integer

Program in UNIX to compute factorial of a positive integer

Write a shell script to compute factorial of a positive integer echo Enter a number to find its fact…
Program in UNIX - File size to be displayed

Program in UNIX - File size to be displayed

Write a script which reports names and sizes of all files in the directory (directory would be supp…
UNIX Program to check the entered word starts with vowel, ends with a digit or it is just three-letter word

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

Write a program to check the entered word starts with vowel, ends with a digit or it is just three-…
Program in UNIX which checks after every one-minute whether user has logged in or not

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

A friend of yours has promised to log in at a particular time. However, he has not kept the promise…
Program in UNIX - Filename displayed

Program in UNIX - Filename displayed

The word unix is present in only some of the files supplied as arguments to the shell script. Your …
Program in UNIX - File copy

Program in UNIX - File copy

A shell script receives even number of filenames. Suppose four filenames are supplied then the firs…
UNIX program to print the multiplication table

UNIX program to print the multiplication table

Write a program to print the multiplication table of entered number. echo "Enter the number to …
UNIX Program to display a list of all files in the current directory with permission

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

Write a shell script, which display a list of all files in the current directory those have read, w…
UNIX program to check whether every argument supplied is a file or a directory

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

Write a shell script, which will receive any number of filenames as arguments. The shell script sho…
UNIX Program to find GCD and LCM of these number

UNIX Program to find GCD and LCM of these number

Write a shell script, which will accept two positive integers and find GCD and LCM of these numbers…
Write a shell script to generate following series1,3,2,4,3,5,4,6,----100

Write a shell script to generate following series1,3,2,4,3,5,4,6,----100

Write a shell script to generate following series
1,3,2,4,3,5,4,6,----100
num=1

while [ $num -le 98 …
Program in UNIX to convert Kilometers and print this distance in meters, feet, inches and centimeters.

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

The distance between two cities (in Km.) is input through the keyboard. Write a program to convert …
Program in UNIX to display number of days in that month

Program in UNIX to display number of days in that month

Write a Shell script that accept the month number and display number of days in that month.
echo -n …
Program in UNIX to find out at how many terminals has this user logged in

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

While executing a shell script either the LOGNAME or the UID is supplied at the command prompt. Wri…
Program in UNIX to determine whether the year is a leap year or not

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

Write a shell script, which receives any year from the keyboard and determines whether the year is …
Program in UNIX to calculate the division obtained by the student

Program in UNIX to calculate the division obtained by the student

The marks obtained by a student in 5 different subjects are input through the keyboard. The student…
Program in UNIX to find out whether it is an odd number or even number

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

Any integer input through the keyboard. Write a program to find out whether it is an odd number or …
Program in UNIX to determine whether the seller has made profit or incurred loss

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

If cost price and selling price of am item is input through the keyboard, write a program to determ…
Program in UNIX to calculate gross salary

Program in UNIX to calculate gross salary

Ramesh’s basic salary is input through the keyboard. His dearness allowance is 55% of basic salary,…
Program in UNIX to calculate the sum of digits

Program in UNIX to calculate the sum of digits

If a three-digit positive number is input through the keyboard, write a program to calculate the su…
Program to calculate the area and perimeter of the rectangle, and the area and circumference of the circle

Program to calculate the area and perimeter of the rectangle, and the area and circumference of the circle

The length and breadth of a rectangle and radius of circle are input through the keyboard. Write a …
UNIX & Linux programs Index

UNIX & Linux programs Index

1 Write a program in UNIX to calculate the area and perimeter of the rectangle, and the area and ci…
Tell you friends about this website

Tell you friends about this website

Please tell your friends, school/college groups about this website, and let's make this thing g…
Data Communication network(DCN) program to implement the peer to peer (chatting) application.

Data Communication network(DCN) program to implement the peer to peer (chatting) application.

Write a program to implement the peer to peer (chatting) application.
Program Code:
#include<stdio…
Write a program to compress the contents of the file.

Write a program to compress the contents of the file.

Write a program to compress the contents of the file.

Program Code:

#include
#include
#include
void ma…
Data Communication network(DCN) Program to implement character level encryption by polyalphabetic encryption method.
Data Communication network(DCN) Program to implement character level encryption by monoalphabetic encryption method.
Data Communication network(DCN) program to implement RSA algorithm using C.

Data Communication network(DCN) program to implement RSA algorithm using C.

Write a program to implement RSA algorithm using C.
Program Code: #include<stdio.h> #include<…
Data Communication network(DCN) Program to generate sink tree for given network.

Data Communication network(DCN) Program to generate sink tree for given network.

Write a program to generate sink tree for given network.
Program Code:
#include<stdio.h> #includ…
Data Communication network(DCN) Program for shortest path routing algorithm (Dijkstra’s algorithm).
Data Communication network(DCN) Program to implement Walsh matrix

Data Communication network(DCN) Program to implement Walsh matrix

Program to implement Walsh matrix
#include<stdio.h> #include<conio.h> #include<math.h&g…
Data Communication network(DCN) Program to implement bit stuffing method

Data Communication network(DCN) Program to implement bit stuffing method

Write a program to implement bit stuffing method
#include<stdio.h> #include<conio.h> void …
Data Communication network(DCN) Program to implement LRC method (Single-Parity Check)

Data Communication network(DCN) Program to implement LRC method (Single-Parity Check)

Write a program to implement LRC method (Single-Parity Check)
#include<stdio.h> #include<con…
Data Communication network(DCN) Program to implement VRC method(Double-Parity Check)

Data Communication network(DCN) Program to implement VRC method(Double-Parity Check)

Write a program to implement VRC method(Double-Parity Check)
#include<stdio.h> #include<coni…
Data Communication network(DCN) Program to implement CRC method

Data Communication network(DCN) Program to implement CRC method

Program to implement CRC method #include<stdio.h> #include<conio.h> void compute_crc(int d…
Data Communication network(DCN) Program to implement the checksum method at sender & receiver’s end.
Data Communication network(DCN) Program to Check & Correct the error in the data at the receiver’s end by implementing  Hamming Code
*** PLEASE checkout the Best deals from for top sites like Amazon, Flipkart etc ***