grep Command in Linux : What is grep Command ?
Linux File System In Hindi | File Syatem Of Linux
Linux rm Command Example | Remove file / directory In Linux
PHP null In Hindi | PHP is null Function
Java program to check prime number : find prime number in Java
Private and Public IP Addresses In Hindi
If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.
Basic Linux Commands - Part 2
जैसा कि आपको पता ही है कि Linux का सबसे ज्यादा use , servers में किया जाता है , क्योंकि Linux stable , fast, secure और free है।
हालाँकि इसके साथ काम करने के लिए आपको इसकी commands सीखना पड़ेगा क्योंकि ज्यादातर काम आपको terminal का use करके ही करना पड़ेगा।
इस topic में हम कुछ basic but important commands के बारे में बात करेंगे जिन्हे एक Linux user को आना ही चाहिए।
●●●
Linux में system info commands का use system से related information देखने के लिए किया जाता है । system info से related कुछ commands नीचे दी गयी हैं।
uname : Kernel information देखने के लिए।
lsb_release -a : Linux Standard Base information provide करता है।
hostname : System का hostname
दिखता है।
top or htop : Real-time system information और running processes display करता है।
free : Free और used memory information देता है।
df -h : Disk space usage दिखता है।
lscpu : CPU information देखने के लिए।
lsblk : Block devices और related information show करता है।
Linux में file commands का use files और directories को create , edit ,rename , move , copy और delete करने के लिए किया जाता है । files और directories से related कुछ commands नीचे दी गयी हैं।
ls : Current directory में files और sub directories को list करने के लिए ls command का use किया जाता है।
cd : Directories में navigate करने के लिए।
pw : Present working directory का path दिखाने के लिए।
touch : New empty file create करने के लिए।
cp : Files या directories को copy करने के लिए।
mv : Files और directories को move या rename करने के लिए।
rm : Files और directories को delete करने के लिए।
mkdir : New directory create करने के लिए।
rmdir : Empty directory को delete करने के लिए।
cat : किसी File के contents को display करने के साथ standard input को file में place करने के लिए भी किया जाता है।
more & less : Long text files को page-by-page देखने के लिए।
nano & vim : Text files को edit या create करने के लिए।
Linux में file permissions को set, modify और check करने के लिए कुछ commands हैं।
ls : File permissions को देखने के लिए ls -l का use होता है। . इसमें file permissions, owner, group, size, modification date, और file name show होती है।
chmod : File permissions को change करने के लिए chmod
command का use किया जाता है।
chown : File का owner change करने के लिए chown
command का use किया जाता है।
chgrp : File का group change करने के लिए chgrp
command use की जाती है।
umask : Default file permissions को set करने के लिए umask
command use की जाती है।
su और sudo : High-level file permissions change करने के लिए su
(switch user) या sudo
(superuser do) का use किया जाता है।
getfacl और setfacl : Access Control Lists (ACLs) को set और check करने के लिए इन दोनों commands का use किया जाता है।
Linux में file और content search करने के लिए कुछ important commands नीचे list की गयी है -
find : Files और directories को filesystem में search करने के लिए use किया जाता है।
grep : Text या regular expressions के basis par files में search करने के लिए use किया जाता है।
locate : System पर files का index बनाकर search करता है।
which : Command का full path देखने के लिए।
whereis : Command, binary, और source का location show करता है।
updatedb : locate command के लिए database को update करने के लिए use होता है।
ack या ag (The Silver Searcher) : Code और text files में efficient search के लिए use होता है।
awk : Text data और files को processing करने के लिए use करते हैं।
Linux में network-related tasks करने के लिए कुछ important commands हैं , यहां कुछ basic network commands की list दी गयी है -
ifconfig या ip addr show : Network interfaces और उनके IP addresses को display करने के लिए use होता है।
ping : Network connectivity check करने के लिए use की जाती है।
traceroute और tracepath : Network path को trace करने के लिए use की जाती है।
netstat : Network connections और routing table की information show करता है।
ss : ये command netstat
का modern replacement है और current socket statistics दिखाता है।
route : Routing table को display और modify करने के लिए use होता है।
nslookup या dig : DNS resolution के लिए use होता है।
hostname : System का hostname
दिखाता है।
Linux में process management के लिए कुछ important commands हैं -
ps: Running processes को information दिखाता है।
top : Real-time system monitoring tool है , जो processes और system resource utilization दिखता है।
kill: Process को terminate करने के लिए use होता है।
pkill : Process को name के basis par terminate करता है।
killall : सभी instances को terminate करने के लिए use होता है।
pgrep : Process ID को के लिए use होता है।
nice: Process priority को set करने के लिए use होता।
renice : Running process को priority को change करने के लिए use होता है।
Loading ...
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