NOTE : ALL THESE PROGRAMS ARE DEVELOPED AND TESTED IN UWIN (unix for windows), FOR UNIX TERMINAL
1. YOU HAVE TO CHANGE == (double equals to) to = (single equals to).
IF ANY OTHER PROBLEM OCCURS PLEASE COMMENT (using account or anonymously), WE WELCOME.
- Check the output of the following commands.date, ls, who, cal, ps, wc, cat, uname, pwd, mkdir, rmdir, cd, cp, rm, mv, diff, chmod, grep, sed, head, tail, cut, paste, sort, find.
- Write shell script
- Accept numbers and perform addition, subtraction, division and multiplication.
- Accept the string and checks whether the string is palindrome or not.
- Accept number and check the number is even or odd, finds the length of the number, sum of the digits in the number.
- Accept strings and replace a string by another string.
- Accept filename and displays last modification time if file exists, otherwise display appropriate message.
- Fetch the data from a file and display data into another file in reverse order.
- Write a script to find the global complete path for any file.
- Write a script to broadcast a message to a specified user or a group of users logged on any terminal.
- Write a script to copy the file system from two directories to a new directory in such a way that only the latest file is copied in case there are common files in both the directories.
- Write a script to compare identically named files in two different directories and if they are same, copy one of them in a third directory.
- Write a script to delete zero sized files from a given directory (and all its sub-directories).
- Write a script to display the name of those files (in the given directory) which are having multiple links.
- Write a script to display the name of all executable files in the given directory.
- Write a script to display the date, time and a welcome message (like Good Morning etc.). The time should be displayed with “a.m.” or “p.m.” and not in 24 hours notation.
- Write a script to display the directory in the descending order of the size of each file.
- Write a script to implement the following commands:
Tree (of DOS) which (of UNIX) - Write a script for generating a mark sheet after reading data from a file. File contains student roll no, name , marks of three subjects.
- Write a script to make following file and directory management operations menu based:
Display current directory
List directory
Make directory
Change directory
Copy a file
Rename a file
Delete a file Edit a file - Write a script which reads a text file and output the following
Count of character, words and lines.
File in reverse.
Frequency of particular word in the file.
Lower case letter in place of upper case letter. - Write a shell script to check whether the named user is currently logged in or not.
- Write a Script for Simple Database Management System Operation. Database File Contains Following Fields. EMP_NO EMP_NAME EMP_ADDRESS EMP_AGE EMP_GENDER EMP_DESIGNATION EMP_BASIC_SALARY Provide Menu Driven Facility ForVIEW RECORD BASED ON QUERYADD RECORDDELETE RECORDMODIFY RECORD.COUNT TOTAL NUMBER OF RECORDSEXIT
- Write A Script To Perform Following String Operations Using Menu:
COMPARE TWO STRINGS.
JOIN TWO STRINGS.
FIND THE LENGTH OF A GIVEN STRING.
OCCURRENCE OF CHARACTER AND WORDS
REVERSE THE STRING. - Write a script to calculate gross salary for any number of employees
Gross Salary =Basic + HRA + DA.
HRA=10% and DA= 15%. - Write a script to check whether a given string is palindrome or not.
- Write a script to check whether a given number is palindrome or not.
- Write a script to display all words of a file in ascending order.
- Write a script to display all lines of a file in ascending order.
- Write a script to display the last modified file.
- Write a shell script to add the statement #include <stdio.h> at the beginning of every C source file in current directory containing printf and fprintf.
- Write a script that behaves both in interactive and non-interactive mode. When no arguments are supplied, it picks up each C program from current directory and lists the first 10 lines. It then prompts for deletion of the file. If the user supplies arguments with the script, then it works on those files only.
- Write a script that deletes all leading and trailing spaces in all lines in a file. Also remove blank lines from a file. Locate lines containing only printf but not fprintf.
i want pro 17
ReplyDeleteHere is program no 17th, all the best programer :-)
Deletei want 16 program
ReplyDeleteمنتديات الاسهم السعودية هي عبارة عن حلقة التواصل بين المستثمرين في سوق المال السعودي
ReplyDelete