Linux Commands For Begginers | Linux Commands In Hindi - Part 2

Blogs ❯❯ Linux

Image could not load

Basic Linux Commands - Part 2

Important Linux Commands

जैसा कि आपको पता ही है कि Linux का सबसे ज्यादा use , servers में किया जाता है , क्योंकि Linux stable , fast, secure और free है।

हालाँकि इसके साथ काम करने के लिए आपको इसकी commands सीखना पड़ेगा क्योंकि ज्यादातर काम आपको terminal का use करके ही करना पड़ेगा।

Learn more about Linux ...

इस topic में हम कुछ basic but important commands के बारे में बात करेंगे जिन्हे एक Linux user को आना ही चाहिए।

Linux System Info Commands

Linux में system info commands का use system से related information देखने के लिए किया जाता है । system info से related कुछ commands नीचे दी गयी हैं।

  1. uname : Kernel information देखने के लिए।

  2. lsb_release -a : Linux Standard Base information provide करता है।

  3. hostname : System का hostname दिखता है।

  4. top or htop : Real-time system information और running processes display करता है।

  5. free : Free और used memory information देता है।

  6. df -h : Disk space usage दिखता है।

  7. lscpu : CPU information देखने के लिए।

  8. lsblk : Block devices और related information show करता है।

 Linux File Commands

Linux में file commands का use files और directories को create , edit ,rename , move , copy और delete करने के लिए किया जाता है । files और directories से related कुछ commands नीचे दी गयी हैं।

  1. ls : Current directory में files और sub directories को list करने के लिए ls command का use किया जाता है।

  2. cd : Directories में navigate करने के लिए।

  3. pw : Present working directory का path दिखाने के लिए।

  4. touch : New empty file create करने के लिए।

  5. cp : Files या directories को copy करने के लिए।

  6. mv : Files और directories को move या rename करने के लिए।

  7. rm : Files और directories को delete करने के लिए।

  8. mkdir : New directory create करने के लिए।

  9. rmdir : Empty directory को delete करने के लिए।

  10. cat : किसी File के contents को display करने के साथ standard input को file में place करने के लिए भी किया जाता है।

  11. more & less : Long text files को page-by-page देखने के लिए।

  12. nano & vim : Text files को edit या create करने के लिए।

Linux File Permissions Commands

Linux में file permissions को set, modify और check करने के लिए कुछ commands हैं।

  1. ls : File permissions को देखने के लिए ls -l का use होता है। . इसमें file permissions, owner, group, size, modification date, और file name show होती है।

  2. chmod : File permissions को change करने के लिए chmod command का use किया जाता है।

  3. chown : File का owner change करने के लिए chown command का use किया जाता है।

  4. chgrp : File का group change करने के लिए chgrp command use की जाती है।

  5. umask : Default file permissions को set करने के लिए umask command use की जाती है।

  6. su और sudo : High-level file permissions change करने के लिए su (switch user) या sudo (superuser do) का use किया जाता है।

  7. getfacl और setfacl : Access Control Lists (ACLs) को set और check करने के लिए इन दोनों commands का use किया जाता है।

Linux Search Commands

Linux में file और content search करने के लिए कुछ important commands नीचे list की गयी है -

  1. find : Files और directories को filesystem में search करने के लिए use किया जाता है।

  2. grep : Text या regular expressions के basis par files में search करने के लिए use किया जाता है।

  3. locate : System पर files का index बनाकर search करता है।

  4. which : Command का full path देखने के लिए।

  5. whereis : Command, binary, और source का location show करता है।

  6. updatedb : locate command के लिए database को update करने के लिए use होता है।

  7. ack या ag (The Silver Searcher) : Code और text files में efficient search के लिए use होता है।

  8. awk : Text data और files को processing करने के लिए use करते हैं।

Linux Networking Commands

Linux में network-related tasks करने के लिए कुछ important commands हैं , यहां कुछ basic network commands की list दी गयी है -

  1. ifconfig या ip addr show : Network interfaces और उनके IP addresses को display करने के लिए use होता है।

  2. ping : Network connectivity check करने के लिए use की जाती है।

  3. traceroute और tracepath : Network path को trace करने के लिए use की जाती है।

  4. netstat : Network connections और routing table की information show करता है।

  5. ss : ये command netstat का modern replacement है और current socket statistics दिखाता है।

  6. route : Routing table को display और modify करने के लिए use होता है।

  7. nslookup या dig : DNS resolution के लिए use होता है।

  8. hostname : System का hostname दिखाता है।

Linux Process Management Commands

Linux में process management के लिए कुछ important commands हैं -

  1. ps: Running processes को information दिखाता है।

  2. top : Real-time system monitoring tool है , जो processes और system resource utilization दिखता है।

  3. kill: Process को terminate करने के लिए use होता है।

  4. pkill : Process को name के basis par terminate करता है।

  5. killall : सभी instances को terminate करने के लिए use होता है।

  6. pgrep : Process ID को के लिए use होता है।

  7. nice: Process priority को set करने के लिए use होता।

  8. renice : Running process को priority को change करने के लिए use होता है।

Recent Blogs

Loading ...

Rahul Kumar

Rahul Kumar

Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)

Get connected with me. :) LinkedIn Twitter Instagram Facebook