Bsc Computer Science Lab program : Linux Programming 09:57 Linux Programming Find the sum of the digits of a given number Find the reverse of a number Perform basic arithmetic opera...
Linux or Unix lab programs 09:36 Linux or Unix lab programs 1.Bsc ( Computer Science ) 2.BCA 3.Msc ( CS & IT )
Write a linux shell program to perform find age of a person using set date 09:24 Find age of a person using set date Code: TODAY=$(date +"%Y-%m-%d") echo "May I know your name" read name echo ...
Developing simple exercises in Unix Graphics. 09:21 Developing simple exercises in Unix Graphics. Code: clear name=$(zenity --entry --title="Greeting user" --text="Enter y...
Writing C program to implement UNIX commands like grep. 09:16 Writing C program to implement UNIX commands like grep. Code: #include #include #include #include #include #include #includ...
Study of UNIX filters like grep, tr, sed etc. 09:08 Study of UNIX filters like grep, tr, sed etc. Code: clear echo ------------------------------------------------- echo '\tStudyin...
Write a shell script that reads lines in a file and echo the line followed by the string “This line is line n” n=1, 2, 3… 09:05 Write a shell script that reads lines in a file and echo the line followed by the string “This line is line n” n=1, 2, 3… Code: clear ...
Write a shell script that changes the text color 09:02 Write a shell script that changes the text color Code: # Hints # run in bash.For example :~$bash color1 clear echo -----------------...
Write a shell script that copies files in a directory and its subdirectory to another directory. 08:56 Write a shell script that copies files in a directory and its subdirectory to another directory. Code: clear echo -----------------...
Write a shell script that counts the number of blank lines in a file, count how many lines have a text ‘new’ in it, count how many lines have the last word having a value > 1000 08:47 Write a shell script that counts the number of blank lines in a file, count how many lines have a text ‘new’ in it, count how many lines h...
Write a shell script that checks if the contents of two files are same. If so, delete the second file. 08:44 Write a shell script that checks if the contents of two files are same. If so, delete the second file. Code: clear echo ----------...
Write a shell script that displays the calendar for present month, current working directory, and the files with the extension sash 08:41 Write a shell script that displays the calendar for present month, current working directory, and the files with the extension sash Code...
Write a shell script that searches for a particular pattern in files and displays the name of such files 08:38 Write a shell script that searches for a particular pattern in files and displays the name of such files Code: clear echo --------...
Write a shell script to read user name and find whether the user is currently working in the system or not 08:36 Write a shell script to read user name and find whether the user is currently working in the system or not Code: clear echo ----------...
Write a shell script to all files whose size is greater than specific size. 08:31 Write a shell script to all files whose size is greater than specific size . Code: clear echo ------------------------------- echo ...
Write a shell script to get three arguments from the command line operand 1, operand 3 and perform all arithmetic operations 08:29 Write a shell script to get three arguments from the command line operand 1, operand 3 and perform all arithmetic operations Code: if [...
Write a shell script to print the names of all files in the current working directory in alphabetical order using for loop 08:24 Write a shell script to print the names of all files in the current working directory in alphabetical order using for loop Code: clear ...
Write a shell script to get your name and greet you depending on time 08:21 Write a shell script to get your name and greet you depending on time Code: clear echo -----------------------------------------------...
Write a linux shell program to perform count number of user’s login and print first login user information. 08:18 Write a shell script to count number of user’s login and print first login user information. Code: clear echo --------------------...
Write a linux shell program to perform Studying UNIX commands 08:15 Studying UNIX commands Code: clear echo --------------------------------------------- echo '\tStudying basic commands' echo ...
Linux basic shell scripting questions 04:35 Basic shell scripting questions 1. How do you find out what’s your shell? - echo $SHELL 2. What’s the command to find...
What are PIDs in linux? 04:28 What are PIDs ? They are process IDs given to processes. A PID can vary from 0 to 65535.
What are links and symbolic links in UNIX file system? 04:27 What are links and symbolic links in UNIX file system? Link is a utility program in UNIX which establishes a hard link from one directory...
What is use of sed command? 04:24 What is use of sed command? Sed command reads from a standard input and places it into the pattern space.......
How can shell scripts be debugged in unix? 04:22 How can shell scripts be debugged in unix? A user when programming in shell may face an error. The user can make use of the -v and ...
What is GUI Scripting? 04:20 What is GUI Scripting? Graphical user interface provided the much needed thrust for controlling a computer and it...
Explain the “Exit” command? 04:11 Explain the “Exit” command? Every program whether on UNIX or Linux should end at a certain point of time and successful...
What is shell variable? 04:09 What is shell variable? A shell variable is a special variable that is set by the shell and is required by the shell...
What is environment variable? 04:07 What is environment variable? An environment variable is a variable that is available to any child process of the shell. Some progr...
What is Interactive mode Linux? 04:04 What is Interactive mode Linux? Interactive mode means that the shell expects to read input from you and execute the co...
What is "grep" programe ? 04:01 What is "grep" programe ? The grep program is the primary tool for extracting interesting lines of text from input data...
What is awk ? 03:59 What is awk ? An awk invocation can define variables, supply the program, and name the input files.
What is Shell's Responsibilities ? 03:57 What is Shell's Responsibilities ? The shell is responsible for the execution of all programs that you request from yo...
Linux is which kind of Operating System? 03:55 Linux is which kind of Operating System? Linux is an Operating System which supports Multi User, Running a Number ...
Is Linux Operating system Virus free? 03:53 Is Linux Operating system Virus free? No! There doesn’t exist any Operating System on this earth that is virus free. H...
What is the basic difference between UNIX and Linux Operating System. 03:51 What is the basic difference between UNIX and Linux Operating System. Linux Operating System is Free and Open Source Softwa...
What is the core of Linux Operating System? 03:49 What is the core of Linux Operating System? Kernel is the core of Linux Operating System. Shell is a command Line Interpr...
Write a linux shell program to perform string manipulation 03:42 To perform string manipulation Code: clear echo --------------------------------------------- echo '\tString Manipulation...
Write a linux shell program to perform compare two files 03:35 To compare two files Code: clear echo ----------------------------------- echo '\tCompare two files' echo ---------...
Write a linux shell program to perform to check the given file is a directory or not 03:32 To check the given file is a directory or not Code: clear echo --------------------------------------------- echo '\t Check...
Write a linux shell program to perform set the attributes of a given file 03:27 To set the attributes of a given file Code: clear echo --------------------------------------------- echo '\tSetting The At...
Write a linux shell program to prepare electricity bill 03:23 Prepare electricity bill Code: clear echo ----------------------------------------- echo '\tCalculate Electricity Charge'...
Write a linux shell program to perform get mark details of a student and display total and grade 03:18 Get mark details of a student and display total and grade Code: clear echo ----------------------------------- echo '\tStud...
Write a linux shell program to perform a menu driven program to check for file existence,file readable or not,file writeable or not, 03:12 Write a menu driven program to check for file existence, file readable or not, file writeable or not Code: clear e...
Write a linux shell program to perform Read 10 names from a file and sort in Ascending order Descending order 03:06 Read 10 names from a file and sort in Ascending order and Descending order Code: clear echo ----------------------------------...
Write a linux shell program to perform a menu driven program to display today’s date,Processes of the system,user’s of the system,list files of the system 03:01 Write a menu driven program to display today’s date, Processes of the system, user’s of the system, list files of the system Code...
Write a linux shell program to perform check for palindrome 23:35 Check for palindrome Click me to definition for Palindrome Code: clear echo -------------------------------- echo '\t Pol...
Write a linux shell program to perform find the number of users who have logged in 23:31 Find the number of users who have logged in Code: clear echo ----------------- echo '\tLogin' echo -----------------...
Write a linux shell program to perform check pattern matching using grep 23:27 Check pattern matching using grep Code: clear echo --------------------------------------------- echo '\tSearch a word in A...
Write a linux shell program to perform check for an adam number 23:23 Check for an Adam number Click me to definition for Adam number Code: clear echo -------------------------------- echo '\...
Write a linux shell program to perform convert lowercase to uppercase using tr statement 23:14 Convert lowercase to uppercase using tr statement Code: clear echo --------------------------------------------- echo '\tl...
Write a linux shell program to perform check whether a number is prime or not using while 23:07 Prime or not using while Click me to definition for prime number Code: clear echo --------------------------------------------...
Write a linux shell program to perform display multiplication table 23:03 Multiplication table Code: clear echo ----------------------------------- echo '\tMultiplication Table' echo -------...
Write a linux shell program to perform basic arithmetic operations using case 22:59 Basic arithmetic operations using case Code: clear echo ----------------------------------------------------- echo '\tEvaluation ...
Write a linux shell program to perform find the reverse of a number 22:53 Reverse of a number Code: clear echo ----------------------------------- echo '\tReverse A Number' echo ------------------...