Complete Linux for beginners part-3



Dear friends we all are know about Linux as it is going to mandatory in our day to day life, so obviously we have to learn complete it, without any chapter lose.

Dear friends in today’s topic we are going to learn Linux basic commands in brief description like with syntax.

So let start learning:-

1. df           It stands for disk file-system. It shows the disk file system space (is command se hum linux                     OS me kisi bhi file system ka space dekh sakte hain).

2. df -k      This command shows disk space in kb (is command se hum kisi bhi file system ka space KB                     me dekh sakte hain).

3. df -m      This command shows disk space in mb (is command se hum kisi bhi file system ka space                         MB me dekh sakte hain).

4. df -T       This command shows type of file system. Ex:- EXT4,EXT3,JFS etc. (is command se hum                         kisi bhi file system ka type dekh sakte hain).

5. df -t         This command shows the specific file system (is command se hum koi bhi special file                                 system ko details me dekh sakte hain).

                         Syntax df -t ext3

6. du              It stands for disk uses. It shows disk space (is command se hum disk ka space kitna use                             hua hai dekh sakte hain).


7. dush        This command shows all used disk space in one line (is command se hum sabhi disks ka                           space jo ki use hua hai or free hai ye sub ek line me dekh sakte hain).

8. ifconfig      This command shows IP till linux 6 (ye command sirf linux 6 se neeche ke version ki IP                             ko check karne ke liye use hoti hai).

9. ip a             This command shows ip above linux 6 (is command se hum linux 6 se upar ke version ki                             IP ko check karte hain).

10.hostname     This command shows hostname of the machine (is command se hum kisi bhi machiene                             ke hostname ka pata laga sakte hain).

11. hostname –I This command shows IP of the machine (is command se hum kisi bhi machine ki IP                                 dekh sakte hain).

12. mkdir             This command uses to make new empty directories (is command se hum new empty                                 directories banate hain).

13. rmdir              This command uses to remove empty directories (is command se hum kisi bhi empty directory ko remove kar sakte hain).

14. rm –rf            This  command uses to delete  directory with contents (is command se hum kisi bhi directory jisme data hota hai ko delete  kar sakte hain).

15  cp                     This command uses to copy any file directory and data from one location to another                                  location (is command se hum kisi bhi file, directory, or data ko copy – paste kar                                     sakte hain).

16.  mv                  This command uses to move any file, directory from one location to another location                                 (is command se hum kisi bhi file ya directory ko ek jagah se dusri jagah cut paste                                     kar sakte hain).

17.  adduser           This command uses to add users till linux -6 version ( is command se hum kisi bhi                                     user ko linux machine me version -6 add kar sakte hain).

18.  useradd           This command uses to add users above linux -6 version (is command se hum kisi bhi                                  user ko linux machine me linux -6 ke upar ke versions ke liye add kar sakte hain).

Syntax -                  useradd -u <uid> -g <gid> -G <secondary group> -c <comment> -d <home                                 directory> -s
                             <shell><user name>

Example             useradd -u 600 -g 600 -G java -c "oracle user" -d /home/raju -s /bin/bash raju

19.  passwd             This command uses to change or update passwords of existing users in linux (is                                             command se hum linux me jo users bane hue hain ke passwords ko change or                                         update kar sakte hain).

Syntax -                    passwd  <user name>

20.  userdel             This command is uses to delete any user (is command se hum kisi bhi user ko delete                                     kar sakte hain).

Syntax -                   userdel <options><user name>


* The options are,
-f -----> forcefully delete the user even through the user is login. The user's home directory,                 mail and message directories are also deleted.
-r -----> recursively means files in the user's home directory will be deleted and his home                     directory also deleted but the other files belongs to that user should be deleted                         manually.

Translation in Hindi

 प्रिय दोस्तों, हम सभी लिनक्स के बारे में जानते हैं क्योंकि यह हमारे दैनिक जीवन में अनिवार्य होने जा रहा है, तो जाहिर है हमें इसे पूरा करना सीखना होगा, बिना कोई अध्याय खोए।

प्रिय दोस्तों आज के इस टॉपिक में हम सिंटेक्स की तरह संक्षिप्त विवरण में लिनक्स बेसिक कमांड्स सीखने जा रहे हैं।

तो चलिए सीखना शुरू करते हैं:-

1. df             यह डिस्क फाइल सिस्टम के लिए है। यह डिस्क फाइल सिस्टम स्पेस दिखाता है (इस कमांड से हम                         लिनक्स ओएस में किसी भी फाइल सिस्टम का स्पेस देख सकते हैं)।

2. df -k         यह कमांड kb में डिस्क स्पेस दिखाता है (इस कमांड से हम किसी भी फाइल सिस्टम का स्पेस केबी                         में देख सकते हैं)।

3. df -m        यह कमांड mb में डिस्क स्पेस दिखाता है (इस कमांड से हम किसी भी फाइल सिस्टम का स्पेस                                 एमबी में देख सकते हैं)।

4. df -T         यह कमांड फाइल सिस्टम के प्रकार को दर्शाता है। Ex:- EXT4,EXT3,JFS आदि (इस कमांड से                             हम किसी भी फाइल सिस्टम का टाइप देख सकते हैं)।

5. df -t         यह कमांड विशिष्ट फाइल सिस्टम को दिखाता है (इस कमांड से हम कोई भी स्पेशल फाइल सिस्टम                         को डिटेल्स में देख सकते हैं)।

सिंटैक्स         df -t ext3

6. du             यह डिस्क उपयोग के लिए है। यह डिस्क स्थान दिखाता है (इस कमांड से हम डिस्क का स्पेस                                 कितना उपयोग हुआ है देख सकते हैं)।

7. du -sh        यह कमांड एक लाइन में सभी इस्तेमाल किए गए डिस्क स्पेस को दिखाता है (इस कमांड से हम                             सब डिस्क्स का स्पेस जो की यूज हुआ है या फ्री है ये सब एक लाइन में देख सकते हैं)।

8. ifconfig     यह कमांड linux 6 तक IP दिखाता है (ये कमांड sirf linux 6 se neeche ke version ki IP ko                                 check karne ke liye use hoti hai)।

9. ip a             यह कमांड linux 6 के ऊपर ip दिखाता है (is कमांड se hum linux 6 se upar ke version ki IP                             ko check karte hain)।

10.hostname     यह कमांड मशीन का होस्टनाम दिखाता है (इस कमांड से हम किसी भी मशीन के होस्टनाम का                             पता लगा सकते हैं)।

11. hostname  -iयह कमांड मशीन का आईपी दिखाता है (इस कमांड से हम किसी भी मशीन की आईपी देख                                 सकते हैं)।

12. mkdir           यह कमांड नई खाली निर्देशिका बनाने के लिए उपयोग करता है (कमांड से हम नई खाली                                     निर्देशिका बनाते हैं)।

13. rmdir            यह कमांड खाली निर्देशिकाओं को हटाने के लिए उपयोग करता है (इस कमांड से हम किसी                                 भी खाली निर्देशिका को हटा दें कर सकते हैं)।

14. rm -rf           यह कमांड सामग्री के साथ निर्देशिका को हटाने के लिए उपयोग करता है (इस कमांड से हम                                     किसी भी निर्देशिका जिसमे डेटा होता है को हटा दें कर सकते हैं)।

15 cp                 यह कमांड किसी भी फाइल डायरेक्टरी और डेटा को एक स्थान से दूसरे स्थान पर कॉपी करने                                     के लिए उपयोग करता है (कमांड से हम किसी भी फाइल, डायरेक्टरी, या डेटा को कॉपी -                                 पेस्ट कर सकते हैं)।

16. mv                यह कमांड किसी भी फाइल, डायरेक्टरी को एक स्थान से दूसरे स्थान पर ले जाने के लिए                                         उपयोग करता है (इस कमांड से हम किसी भी फाइल या डायरेक्टरी को एक जग से दुसरी                                 जग कट पेस्ट कर सकते हैं)।

17. adduser        यह कमांड उपयोगकर्ताओं को linux -6 संस्करण तक जोड़ने के लिए उपयोग करता है (इस                                     कमांड से हम किसी भी उपयोगकर्ता को linux मशीन में संस्करण -6 जोड़ें कर सकते हैं)।

18. useradd         यह कमांड उपयोक्ता को linux -6 version से ऊपर जोड़ने के लिए उपयोग करता है (इस                                         कमांड से हम किसी भी उपयोगकर्ता को लिनक्स मशीन में लिनक्स -6 के ऊपर के संस्करण                                  के लिए जोड़ें कर सकते हैं)।

सिंटैक्स -             useradd -u <uid> -g <gid> -G <second group> -c <comment> -d <home directory> -s

                            <shell> <user name>

उदाहरण : #         useradd -u 600 -g 600 -G java -c "oracle user" -d /home/raju -s /bin/bash raju

19. passwd            यह कमांड लिनक्स में मौजूदा उपयोगकर्ताओं के पासवर्ड को बदलने या अपडेट करने के                                     लिए उपयोग करता है (इस कमांड से हम लिनक्स में जो उपयोगकर्ता बन गए हैं के पासवर्ड                                 को बदल सकते हैं या अपडेट कर सकते हैं)।

सिंटैक्स -                 passwd <user name>

20. userdel             इस कमांड का उपयोग किसी भी यूजर को डिलीट करने के लिए किया जाता है (इस कमांड                                 से हम किसी भी यूजर को डिलीट कर सकते हैं)।

सिंटैक्स -                 userdel <username>

 *विकल्प हैं,

-f ----->                 यूजर को जबरदस्ती डिलीट करने के बाद भी यूजर लॉगइन होता है। उपयोगकर्ता की होम                                 निर्देशिका, मेल और

                              संदेश निर्देशिकाएं भी हटा दी जाती हैं।

-r ----->                 पुनरावर्ती का अर्थ है कि उपयोगकर्ता की होम निर्देशिका में फ़ाइलें हटा दी जाएंगी और                                     उसकी होम निर्देशिका भी

                              हटा दिया गया है लेकिन अन्य फाइलें उस उपयोगकर्ता की हैं जिन्हें मैन्युअल रूप से हटा दिया                                 जाना चाहिए।

                                                 


 
                         

 

 

 

Comments

Post a Comment

Popular posts from this blog

Come to learn complete Linux from beginning