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 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: Linux Unit 4

RGPV Diploma: Linux: Unit 4   Q1. शैल को परिभाषित किजिये ? Or शैल क्या है? किस प्रकार से यह kernel से भिन्न है, समझाइये … Read more

RGPV Diploma: Linux Unit 6

UNIT 6 Q1. Client एवम्‌ server कि अवधारणा को समझाइये ? OR Client /server मॉडल से आपका क्या अभिप्राय है? क्लाइंट्स तथा सर्वर, विभिन्न मशीन … Read more

RGPV diploma: linux unit 5

LINUX UNIT 5 Q1. System administrator को समझाइये । OR System administrator के role पर संक्षिप्त टिप्पणी लिखिये। OR   एक कार्यरत Linux system के रखरखाव मे सम्मलित सामान्य प्रबंधन कार्य क्या क्या है? OR Linux system के रखरखाव के लिए सामान्य प्रबन्धन कार्य कोन कोन से है? OR System administrator क्या है? इस्के उत्तर्दायित्वो को लिखिये। OR System administrator के विभिन्न roles को समझाइये । OR System administrator कोन से सामान्य administrative कार्य करता है? OR System … Read more

RGPVDiplomaLinux: Unit 1

LINUX UNIT 1   Q 1 लिनक्स की शुरूआत कब हुई ? समझाइए | Ans. लिनक्स की शुरुआत 1990 में हुई थी | लिनक्स को … Read more

Conditional statements in Linux

Some of the conditional statements in Linux are- 1) if..then..fi statement (Simple If)2) if..then..else..fi statement (If-Else)3) if..elif..else..fi statement (Else If ladder)4) if..then..else..if..then..fi..fi..(Nested if 1) Bash … Read more

Shell in Linux

The shell, in Linux and other Unix-like operating systems, is a powerful tool that provides a user interface for interacting with the system. It allows … Read more

Tee

With pipe tee commands is used. Tee reads data from input source and and write it to another file. Syntax of tee command is : tee … Read more