Articles by Team EasyExamNotes

Program to use conditional statements in Linux

Q. Conditional statements को दर्शाने के लिये शैल programming लिखिये।Ans.Bash में निम्लिखित कंडीशनल स्टेटमेंट्स है –<![if !supportLists]> 1)      <![endif]> if..then..fi statement (Simple If)<![if !supportLists]> 2)      <![endif]> if..then..else..fi statement (If-Else)<![if !supportLists]> 3)      <![endif]> if..elif..else..fi statement (Else If ladder)<![if !supportLists]> 4)      <![endif]> if..then..else..if..then..fi..fi..(Nested … Read more

Program to print string in reverse order

Q.एक ऐसा शैल program लिखिए जो कि एक string को reverse order मे print करे।Ans.read -p “Enter string:” stringlen=${#string}for (( i=$len-1; i>=0; i– ))do# “${string:$i:1}”extract single single character from string.reverse=”$reverse${string:$i:1}”doneecho “$reverse”

Program parameter passing in shell script

Q. शैल programming मे parameter किस प्रकार से पास करते है? समझाइये ।ORशैल programming मे parameter और agreement को उदाहरण सहित विस्तार से समझाइये ।Ans. शैल स्क्रिप्ट मे पैरामीटर को पास करने के लिए सर्वप्रथम शैल स्क्रिप्ट क्रिएट … Read more

Program to expain ps commands

Q. Write a program to explain PS command ?Ans.Ps कमांड active processes को दिखाती है |Syntax:ps कमांड का syntax निम्नलिखित है –ps [option] कुछ basic ps कमांड्स … Read more

RGPV Diploma Linnux Unit 2

RGPV Diploma: Linux: Unit 2 Q 1. शैल कमांड को विकल्प तथा उचित उदाहरण के साथ समझाइए ? OR सिंपल कमांड को समझाइए? Ans. सिंपल … Read more

Diploma Linux Unit 3

RGPV Diploma: Linux: Unit 3   Q1. Vi एडिटर को समझाइए | OR Vi एडिटर पर संक्षिप्त टिप्पणी लिखिए | OR एडिटर क्या है ? … Read more