जाने सभी Linux command हिंदी में, Linux Files Command In Hindi, Basic Command Ex. date, time, cal, grep, paste, etc. command in Hindi.
Linux Command In Hindi
Linux Command In Hindi
Linux Command In Hindi – हेल्लो Engineersकैसे हो, उम्मीद है आप ठीक होगे और पढाई तो चंगा होगा आज जो शेयर करने वाले वो Linux के बारे में हैं, तो यदि आप जानना चाहते हैं की Linux Command In Hindi के बारे में तो आप इस पोस्ट को पूरा पढ़ सकते हैं, और अगर समझ आ जाये तो अपने दोस्तों से शेयर कर सकते हैं।
इस command से आप current time और date चेक कर सकते है |
Example – [ root@localhost ~]# date then enter
date command के साथ कुछ options का use करते हैं।
-R, -U, date +%H, date +%M, date +%h%m
Date Command
2. Cal Command “Linux Command In Hindi“
इस command की सहायता से आपके सामने current month का calendar display हो जायेगा |
Example – [ root@localhost ~]# cal then enter
Calendar (Cal) Command for specific month
Cal Command के कुछ sub command होते हैं या कोई और भी date कैसे देखें।
Cal Command
Cal 2018 – अगर आपको specific किसी month का calendar देखना हो तो आप cal command के साथ month और year दे दो | तब आपके सामने specific month का calendar display होगा ।।|Example– cal 7 2018 Then Press Enter Button
Cal 2018
Cal 7 2018– cal के बाद कोई month का नंबर देखने के लिए किया जाता हैं।
Cal 7 2018
3. mv Command In Hindi
किसी file या dir के नाम को rename करने के लिए mv command का use किया जाता हैं।
Syntax:- mv [option] oldname newname
Example– mv dir1 dir2 then press enter button
mv Command
किसी file या dir को एक place से दूसरे place में move करने केलिए भी mv command का use किया जाता हैं।
syntax:- mv [option] source target
4. Touch Linux Command In Hindi
Touch command का use Empty file create करने के लिए जाता हैं।
Syntax- $touch <filename>
Ex. Touch file1 then enter press button
Touch Linux Command
यदि आप एक साथ multiple file create करना चाहते हैं तो ऐसे कर सकते हैं-
Ex. touch file1 file2 file3
5. WC Linux Command In Hindi
इस Command से किसी file content को Lines, Words, एंड Character में show कर सकते हैं।
Syntax- wc <filename>
Ex. wc file1 then press enter button
WC Linux Command
इसमें First word जो 3 हैं वो Number of line बताता हैं।
second-word जो 13 हैं वो number ऑफ़ words बताता हैं।
third word जो हैं जो 68 हैं वो number of character को बताता हैं।
इस Command के कुछ Options हैं:-
कृपया ( “.”) का प्रयोग न करें |
“w.c -l”wc -l :- इस command से file के content का सिर्फ लाइन ही दिखाता हैं|
wc -c :- इसकी सहयता से file के content only word को दिखाता हैं|
“wc -w “:- इससे file का content का सिर्फ word को show किया जाता हैं|
CommandOptions
6. Head Linux Command In Hindi
इस command की सहायता से file के content को show किया जाता हैं, head command किसी file केवल ऊपर के 10 line को print करता हैं।
syntax:- head <filename >
Ex. head cse +then press Enter Button
Head Linux Command
head command के कुछ option हैं:-
head -5 filename:- इस command से किसी भी file के ऊपर के 5 line को show करेगा, अर्थात जितने भी नुम्बरडोगे उतना number show करेगा।
head -5 filename
7. Tail Linux Command In Hindi
Tail Command की सहायता से file के content को नीचे से 10 line को show करता हैं।
Syntax:- tail <filename> ↵
Ex. tail cse ↵
Tail Linux Command
इस command के कुछ option हैं:-
“tail -4” filename:- इस command से नीचे से 4 line को show करेगा।
“tail -4” filename
8. More Linux Command In Hindi
more command की सहायता से file के content को 1 page में show किया जाता हैं अर्थात file का content कितना भी हो वो सिर्फ एक page में ही दिखायेगा और बाकि More (More 41% ) करके बता देगा बाकि और सभी content को show कराने के लिए space button का use किया जाता हैं, इसे Internal Command कहा जाता हैं।
More command के कुछ और Internal command हैं जैसे:-
-f = इससे बाकि content को slap कर देगा।
enter = एक – एक लाइन आगे बढ़ाता हैं।
5s = आगे के 5 line forward
5f = आगे के 5 page forward
f = Next page forward
b = previous page में ले जाता हैं { जब आगे forward करेंगे तब काम आयेगा backward का }
9. Less Linux Comand In Hindi
more command की सहायता से file के content को 1 page में show किया जाता हैं।
one line forward – Enter and I
one page Forward – Space Button and f
10 line forward – 10j
Less Comand के कुछ और Options हैं –
-P = file के begging में जा सकते हैं।
-G = file के end में जा सकते हैं।
-b = one page backward
Less command से 10/15 page forward/backward नहीं कर सकते हैं जबकि more कमान्ड में होता हैं इसमें केवल 1 page forward/backward होता हैं।
more command में कोई ऐसा कमांड नहीं है जो Begging और End में ले जा सके, less में command available हैं।
10. CMP Linux command In Hindi
CMP command compare 2 Files
Firstly create 3 Files
first1 and file2 content are same and file3 content is different
इसका मतलब हैं की Line1 का 1 character में different हैं।
CMP Linux command
11. Sort Linux Command In Hindi
इस command से files को sort किया जाता हैं तथा file की content automatic sort हो जाती हैं।
This is used to sort files.
sort command original file में Change नहीं करता हैं, सिर्फ उस file की content को copy करके sort करके show करता हैं।
Syntax:- sort < filename >
Sort Linux Command
यदि आप sort करके उस फाइल की content को save करना चाहते हैं तो redirection का use कर सकते हैं, redirection command से किसी file के output को save किया जाता हैं।
file की content को reverse order में show करना चाहते हैं तो -r command का use करना होगा।
sort -r file2 ↵
Sort
12. Unique Linux Command In Hindi
इस command से common name या same name को एक बार print/show करता हैं।
ये command केवल एक ही फाइल में work करती हैं अर्थात एक file होना चाहिए, same name अर्थात duplicate को remove कर देता हैं।
Original file को changes नहीं करता हैं।
यदि आप इस output को save करना चाहते हैं तो Redirection (>) का use कर सकते हैं।
Unique Linux Command
13. NL Linux command in Hindi
Numbering the line
अर्थात फाइल के content में जितने भी line होंगे उनको number by show करेगा NL command का use output के साथ line number print करने के लिए किया जाता हैं।
14. tr Linux command In Hindi
translating character
tr command manipulates individual characters in a character string
Syntax:- tr option exp1 exp2 < standard input>
इस command से content में missing word को replace किया जाता हैं।
original content में changes नहीं करता हैं।
किसी file से input लेकर और उसे process कर show करता हैं तथा original content या file को change नहीं करता हैं ऐसे command को Filter Command कहते हैं।
tr Linux command
tr command के कुछ options हैं:-
-d = to delete a character
tr -d ‘y’ < filename
15. Cut Linux Command In Hindi
remove sections from each line of file
Ex. cut -c1-4 file4 only 4 character show करेगा।
Cut Linux Command
16. Paste Linux Command In Hindi
इस command से दो file को joint कर सकते हैं (vertically joint होता हैं ), और हां original content change नहीं होता हैं।
paste command is used to joint content of 2 files vertically
17. Pipes Linux Command In Hindi
pipes ( | ) – यदि हमे किसी file के content के output को count करना हैं की कितने line में हैं तो Pipes का use किया जाता हैं।
Ex. who | wc -l
Pipes Linux Command
इसमें who के output को show कितने line में हैं।
18. grep Command In Hindi
GREP का पूरा नाम – Globally Search a Regular Expression And Print .
किसी file या content के किसी word या को search/ find करने के लिए grep command का use किया जाता हैं। syntax:- grep option pattern filename
ये पूरा line को print करता हैं, और जिस word को search किये होते हैं वो उसे Red color में show करता हैं।
Ex. cat > file1↵
bishnu 101 cse sahuji 102 mech Pappu 103 cse
then
grep cse file1↵
output:- bishnu 101 cse pappu 103 cse
यह केवल एक ही string को search करता हैं यदि हमे एक से अधिक string को search करना हो तो (‘ ‘) single/double apostrophe का use करते हैं। Ex. grep ‘ bishnu 101’ file1↵
Single apostrophe (quotes ) – यदि किसी के name में single quotes (‘) का use किया गया हैं, जैसे sahu’ji’ तो हमे इसे search करने के लिए Double Quotes (” “) का use किया जाता हैं। Ex. “grep “sahu’ji’ “file1 ↵“
grep Command
grep Linux Command In Hindi
इस Command के कुछ और भी Options होते हैं-
1.grep -c = यह command same string को count करता हैं और उसे show करता हैं।
Ex. grep -c ‘cse’ file1 ↵
grep -c
2.grep -l = यह केवल file का name show करता हैं, यह उन सभी files का नाम show करेगा जिसमे pattern save हैं अर्थात Word।
Ex. grep -l cse file1 ↵
.grep -l
3.यदि same name file2 में भी save हैं और एक और file हैं जिसमे वो word नहीं हैं और हम सर्च करे तो वह file को ही show करेगा जिसमे वो word हैं।
Ex. grep cse file1 file2 file3 ↵
same name file2
4.grep -i = यह command case sensitive को ignore करता हैं, file का content small letter हो या capital letter में हो वो show करेगा।
Ex. grep -i cse file1 ↵
.grep -i
5.grep -n = यह command search किये गए content के line number को show करता हैं।
Ex. grep -n cse file1 ↵
grep -n
6.grep -v = इस command से जो हम search करते हैं उसे print नहीं करता हैं, इस command से सभी line को print करेगा मगर उस line को print नहीं करेगा जो हमे चाहिए या जो हम सर्च कर रहे हैं।
Ex. grep -v cse file1 ↵
grep -v
7.grep -w = इस command के द्वारा पूरा string को search किया जाता हैं।
Conclusion Of Linux Command In Hindi
दोस्तों इस पोस्ट को पूरा पढने के बाद आप तो ये समझ गये होंगे की Linux Command In Hindi और आपको जरुर पसंद आई होगी , मैं हमेशा यही कोशिश करता हु की आपको सरल भाषा में समझा सकू , शायद आप इसे समझ गये होंगे इस पोस्ट में मैंने सभी Topics को Cover किया हूँ ताकि आपको किसी और पोस्ट को पढने की जरूरत ना हो , यदि इस पोस्ट से आपकी हेल्प हुई होगी तो अपने दोस्तों से शेयर कर सकते हैं।