NIELIT DOEACC CCC Elements of Linux Study Material Notes in Hindi English
NIELIT DOEACC CCC Elements of Linux Study Material Notes in Hindi English : लाइनक्स के तत्व (Elements of Linex) इस पोस्ट में ccc से सम्बंन्धित सभी जानकारी विस्तृत रूप से दी गई

लाइनक्स के तीन प्रमुख तत्व होते हैं-
- कर्नल (Kernal) यह लाइनक्स का सर्वाधिक प्रमुख भाग है तथा प्रोग्राम्स और हार्डवेयर को व्यवस्थित और संचलित करता है।
Kernel is the core of this Operating System. It manages communication b/w devices & software, manages system and its resources (like CPU).
- शैल (Shell) शैल का कार्य यूजर को सिस्टम के साथ इंटरफेस देना होता है। यह यूजर द्धारा इनपुट लेकर उसे एजिक्यूट करता है, जिसके बाद आउटपुट यूजर को दे दिया जाता है।
Shell is an environment in which user can urn commands, programs and shell scripts. There are various set of recognized commands and functions in these shells.
- फाइल सिस्टम (File System) फाइल सिस्टम में फाइलों को डायरेक्टरी में व्यवस्थित किया जाता है। सबसे महत्वपूर्ण डायरेक्टरी रूट डायरेक्टरी कहलाती है। इसे स्लैश (/) द्धारा व्यक्त किया जाता है।
Various Files are arranged in directory. Top most directory is root directory and shown with a slash (/). All files and directories are associated with root directory.
Some of the files/directories of file system are given below:
Root रूट डायरेक्टरी से किसी एक फाइल से अतिरिक्त डायरेक्टरी फाइल तक पहुँचने में जिन-जिन डायरेक्टरियों से होकर जाना पडंता है, उन सबकी सूची को उस फाइल का पाथ कहते हैं। लाइनक्स के आदेशों में पाथ को कई बार देने की आवश्यकता होती है।
Every Single File and directory starts from root directory and only the user has write privilege under this directory.
/bin इसमें रूट डायरेक्टरी में लाइनक्स द्धारा उपलब्ध या डायरेक्टरी यूटीलिटीज को स्टोर किया जाता है, सभी कमाण्ड फाइलें बाइनरी फॉर्मेट में होती हैं, इसलिए इन्हें ‘bin’ डायरेकटरी में रखा जाता है।
It contains binary executables. Common linux commands needed to use in single-user modes are located under this directory.
/lib इसमें सभी छोटे-छोटे प्रोग्राम होते हैं, जिनकी डायरेक्टरी आवश्यकता कम्पाइलर को होती है, जिसके द्धारा कम्पाइलर अपना कार्य करता है।
It contains library files that supports the smaller programs which are needed to compiler.
/etc इसमें सिस्टम के कॉनफिगरेशन से सम्बन्धित फाइल डायरेक्टरी जैसे कि पासवर्ड फाइल इत्यादि को रखा जाता है।
It contains the files related to system configuration e.g. Password file.
/home इसमें सभी यूजरों के प्रमुख डायरेक्टरियों को रखा डायरेक्टरी जाता है।
It has all main directories of user.
/dev इस डायरेक्टरी में सिस्टम के सभी उपकरणों से डायरेक्टरी सम्बन्धित फाइलों को रखा जाता है। जिससे ये दोबारा उपयोग में लायी जा सकें।
It contains device files.
/usr इसमें उन फाइलों को रखा जाता है, जिनकी आवश्यकती डायरेक्टरी बूटिंग के दौरान नहीं होती है। इसमें यूटीलिटीज को भी रखा जा सकता है।
It contains binaries, libraries, documentation and source-code for second level programs. These files are not needed at the time of booting.
/boot इस डायरेक्टरी में लाइनक्स का कर्नेल तथा बूट लोडर डायरेक्टरी कॉनफिग्ररेशन फाइलें होती हैं।
It contains kernel of linex and configuration files of boot loader.
/var इस डायरेक्टरी में ऐसी सूचनाओं को रखा जाता है, जो डायरेक्टरी अन्य यूटीलिटीज के लिए आवश्यक होती हैं।
File Access Permission
फाइलों के तीन स्तर होते हैं- फाइल ऑनर, ग्रुप ऑनर तथा अन्य यूजर्स। फाइल एक्सेस द्धारा यूजर की किसी फाइल तक पहुँच सीमित की जाती है।
फाइलों के एक्सेस प्रकार निम्नलिखित होते हैं-
Linux file Permission are used to control who able to read, write and excute a certain fill.
It contains information that are userful for other utilities.
Access Type | Symbol | For File | For Directory |
Read | R | To see, copy and compile the file | To see the contents of directory |
Write | W | To edit or transfer the file | Permission of creating new file or sub-directory in directory |
Execute | X | To access the file | Permission to access directory |
किसी फाइल या डायरेक्टरी से जुड़ी हुई फाइल की उपयोग में अनुमति में निम्नलिखित छ: चिन्ह होते हैं।
- साधारण फाइल (Ordinary File)
D डायरेक्टरी (Directory)
B ब्लॉक उपकरण फाइल (Block Device File)
C करैक्टर उपकरण फाइल (Character Device File)
I हार्ड लिंक फाइल (Hard Link File)
S सिम्बोलिक लिंग फाइल (Symbolic Link File)
लाइनक्स की बेसिक कमाण्डस (Basic Commands of linux)
लाइनक्स के निर्देश कमाण्ड प्रॉम्प्ट या शैल प्रॉम्प्ट पर दिए जा सकते हैं। शैल प्रॉम्प्ट को एक साथ कई कमाण्डस दिए जा सकते हैं। इन कमाण्डस को सेमीकॉलन द्धारा पृथक् किया जा सकता है।
Commands in Linux are given on command prompt or shell prompt. There commands can be more than one in number and separated by semicolon.
Command | Description | Example |
Cd | करण्ट डायरेक्टरी बदलने के लिए। | $ cd rohit या $ cd/home/nisha/dir1 |
cp | फाइल को कॉपी करने के लिए इस कमाण्ड के साथ निम्नलिखित स्विचों का प्रयोग किया जा सकता है –i- ओवरराइटिंग करने से पहले सूचित करने के लिए –I- फाइल को कॉपी करने के स्थान पर केवल लिंक करने के लिए –s- एक सिम्बोलिक लिंक बनाने के लिए | $ cp myfile nisha |
Clear | स्क्रीन साफ करने के लिए। | $ clear |
Cat | फाइल की सामग्री देखने के लिए। | $ cat [data 1] या $ [file 1] [file 2] |
Cdmod | किसी फाइल की उपयोग अनुमति बदलने के लिए। | $ chmod 777 myfile यहाँ 777 का अर्थ है rwxrwxrwx |
Date | दिनांक तथा समय देखने के लिए। | $ date |
Echo | स्क्रीन पर सन्देश दिखाने के लिए। | $ echo this is a message या $ echo $ home |
Mkdir | नई डायरेक्टरी बनाने के लिए। | $ mkdir my-dir या $ mkdir/usr/pension/family |
Mv | फाइल को मूव कराने या नाम बदलने के लिए। | $ mv nisha rohit या $ mv rohit/home/ pension/family |
More | फाइल की सामग्री को छोटे-छोटे भागों में देखने के लिए। | $ more rohit |
Man | कमाण्ड के बारे में अधिकतम जानकारी प्राप्त करने के लिए। | $ man cp |
Mkfs | किसी डिस्क या फलॉपी को फॉर्मेट करने के लिए। | $ mkfs/dev/hdab |
Pwd | करण्ट डायरेक्टरी का पूरा नाम देखने के लिए। | $ pwd/home/pension |
Rmdir | डायरेक्टरी को रिमूव करने के लिए। | $ rmdir my-dir |
Rm | फाइल को हटाने के लिए। | $ rm *.* (सभी फाइल को हटाने के लिए) या $ rm rhoit |
Sort | फाइल की सामग्री को शॉर्ट करने के लिए। | $ sort <rohit> rohit |
Tr | चिन्हों के समूह को बदलने के लिए। | $ tr “Meerut” “Agra” <nisha> rohit |
Wc | किसी फाइल को शब्दों, पक्तियों और चिन्हों को गिनने के लिए। | $ wc rohit |
Who | उपयोगकर्ताओं के नाम देखने के लिए। | $ who |
is | फाइलों की सूची देखने के लिए। | $ 1s या $ Is nisha या $ Is ab (करण्ट डायरेक्टरी में ‘ab’ से प्रारम्भ होने वाले नामों की फाइलों के लिए) |
You may also Like