Linux SED Command | SED Tutorial in Hindi | Linux for Beginners #6
ฝัง
- เผยแพร่เมื่อ 23 ก.ค. 2021
- #linux #mprashant #linuxcommands
Linux SED (Stream Editor) Command Tutorial Hindi, SED Tutorial
Document link for commands - docs.google.com/document/d/1b...
Hi Guys,
sed ("stream editor") is a Unix utility that parses and transforms text, using a simple, compact programming language.
sed is a line-oriented text processing utility: it reads text, line by line, from an input stream or file, into an internal buffer called the pattern space. Each line read starts a cycle.
To the pattern space, sed applies one or more operations which have been specified via a sed script. sed implements a programming language with about 25 commands that specify the operations on the text.
For each input line, after running the script, sed ordinarily outputs the pattern space (the line as modified by the script) and begins the cycle again with the next line.
Other end-of-script behaviors are available through sed options and script commands, e.g. d to delete the pattern space, q to quit, N to add the next line to the pattern space immediately, and so on.
Thus a sed script corresponds to the body of a loop that iterates through the lines of a stream, where the loop itself and the loop variable (the current line number) are implicit and maintained by sed.
linux,sed,sed command,linux tutorial,linux for beginners,linux sed command tutorial,command line,substitute,regular expression,linux basic commands,linux sed command,learn linux sed command,sed tutorial,sed examples,sed linux,sed command tutorial,sed command linux,sed search and replace,linux sed,linux tutorial for beginners,shell script,sed command in linux,linux text processing,linux filtering,linux tutorial 2021,linux tutorial sed,text edit sed sed command in hindi
I have gone through many paid courses on linux.. But no one till now has explained SED command so clearly like Prashanth sir. Every topic is in-depth and shellscripts 5 hour masterclass is out of the world..
Thanks for the feedback!
Your lectures are too easy to understand. Thanks for all your videos.🙏🙏
Looking forward to watch your more videos on various topics.
Thanks for the feedback 😀
what specialization do you have in linux ?
if possible can you give practical knowledge on mailing in linux alongwith issues troubleshooting
like postfix and sendmail, zimbra etc
Sir,Your explanations are so clear and easy to understand
Thank you for such nice explanation
Thanks and welcome!!
very hard work.jabardast .....
Namaste Prashant bhai.
I wanted to learn Shell Scripting quickly and found each of your videos tremendously helpful. Have recommended your channel to acquaintances as well. Dhanyawaad.
Thank you bhai for your feedback and support :)
Wonderful video Prashant ! Clear cut explanation with live usage, keep it up, will refer your videos for Linux stuff, 1.8k views is too less for this masterpiece !
Thanks a ton buddy!
@@MPrashantwhich Linux is this? Cent os or Kali?
@@rahulkatare802 centos
It is such an amazing video.
Thank you so much for creating a video like this.
Stay blessed and enlighten the lives of students.
It's my pleasure, I will try to keep making such videos!
bhai yeh video help full nahi tha yeh itna help full tha ki 40 mint ka video 3 hours ses dekh raha hu tab jake khatam hua hey
thanks for making this amazing playlist for us.
Good job!! Keep learning and growing
Cleared every concept
I need to append a line which consists of special characters after a line which consists of an HTTP URL bro can you please provide solution ASAP.
Very nice video and well explained
Thank you!
char 2: extra characters after command
sed -e 'ns/.*/replacement-line/' file.txt
What am I doing wrong?
Thank you making such videos with great explanation for beginners like me ❤️
Glad it helped!
Very useful videos thanks and please upload more videos on sed regexp
thank you! sure I will try
Big brother...this is humble request from you
Please make video on patching and upgradation
This will help many emp to accelerate their employment like me
Sir letters skip krke search krna ho toh kaise hoga
Jaise
Sed -i 's/if ( v*** == **** )/if ( v933 == 8787 )/g' data
Jitne * wale characters hai wo mujhe nhi pta
Hi sir I stuck in query if var1=10 then how we can replace 10 value without using /source./
Hi bro first of all thanks for all this videos just wanted to ask that How to insert data as u have inserted in this video.
God Bless You for creating this for students, may you be happy always in your life!:)
Thank you so much 😊
Very Informative video. teaching with examples helps a lot to understand.
Glad to hear that!
You are explaining Linux very well, so thanks 👌👌
Glad it was helpful!
et(44)1,tet(37)1,oqxB1,VanX-D4,VanX-D4,tet(O)2,aadA51,VanR-G1,
here how can I remove everything that comes only after the bracket () by using sed??
why "extra characters after command" error shown for the sed command?
hey thanks prashant bro...really appriciate it .lots of love
My pleasure!! Thanks!
Wonderful Prashant you are really great with content and explanation.
Glad you think so!
Prashant bhai kya samjhate ho bhai itna easy way me kisi ko vi samjh me aa jaye
Thank you! :)
sed -i "/string1.*string2\|string2.*string1/d" input.txt
you can also covert this in delete,
This deletes two pattern matching in a line.
it is amazing and i am over the moon today.
Excellent work Bhai😊👑
Thank you ❤️
Most welcome 😊
very good content. helped in my linux exam
recommanded for last day prep
Thanks for the feedback!
Just want to mention a correction at 34:35.
How to see names start with only A and C?
sed -n '/^[AC]/p' names
Thanks prashant it helped me alot.😊🙏
💐🎉
how to print the first word after every “.” In the paragraph using sed
very nicely explained prashant sir...
Thank you! ❤️
Very useful information..thanx..🤟
thanks for the feedback!
nice very useful bro
Your video is awesome.....................
Thank you!
Very nice explanation. Thank you sir.
Welcome!
Hello Prashant, how can we comment a specific line in a file
excellent dude....simply amazing
Thank you so much 😀
Got it sir 👍🏻❤️
Awesome sir thank you ❤️
Most welcome 😊
I want date in m-d-yyyy format I.e 1-1-2022 can you help?
Ky bat ha sir aapne ek ek chiz batya ha .i am so grateful of you
Thanks for the lovely feedback!
Very well explained Prashnat..
Thanks Narmeta.
one of the best tutorial on this topic, grateful!🙏
Thanks for sharing!
Great video very easy for understanding
Glad you liked it
Very good explanation
Thanks for liking
Immense pleasure after watching this video❤
Glad to hear that!
You are so good sir your video so amazing😍👍
Thank you 😊
Hi , it is really very interesting and useful , I need to filter out column information form the log files , so which command can be used
You can use Awk command
This video is just a goldmine for newbies like me
Thank you!
Really really very helpful video
thank you!
thank you so much sir.
Glad it helped😊
Video is Very useful bro
Thanks bro
how to add blank line before every line?
Great job sir
Thanks
Thank you so much sir
Most welcome
Please use white background terminal and black font.... It will look better.
We have to increase brightness before watching your videos so please do the needful
This is noted, all the new videos are coming with white background only :)
😍
May Allaha bless you brother Masha Allah nice explanation .
It's my pleasure, thank you 😊
i need all question about sed
Comprehencsive.
Nice!
Thank you! Cheers!
Wonderful
Nice
Thank you so much!
Thanks
Welcome!
Super
Thanks
Nice
Thanks!
Dude any plant to post videos on Sql Queries?
Yes, in plan to bring a short course on SQL but because of tight schedule it might take some time
prasanta da where to download all question about sed
you can get it here - docs.google.com/document/d/1bDRq0TUUs-tqPjOpvWdGsqN9_txHmWVFQH3FC-FFy5g/edit
Do one in twi
Sir, please make video on ping command as soon as possible
sure, I will try to make it till Monday..
@@MPrashant sir also explain putty tool
@@digambarawate4380 sure
Hi bro me 10th Me hu mene 11.12 nhi Ki h
Kay me hacking sheekh sakta hu
Sir what is solution when Linux server is restarting again and again?
are you running on virtualbox? did you make changes recently?
Ju bhi Prashant bhaiya ko pasand karte hai like karo
✌🏻
Bring videos on locate and find command
soon
Video is out: th-cam.com/video/QEwfMpgxQIU/w-d-xo.html
Hii sir, How to delete all indian user irrespective of their Upper and lower case / Because if I delete user in (india) then it consider only india not India (I upper case)
Can you try /i in last to ignore the case sensitive
ex: sed -n 's/india/US/gpi' sed.txt
Tried but not getting / can u just send me syntax for finding the user in India irrespective their upper and lower case ( i.e i want both user from India(upper case) as well as india(lowercase)
how u created table?
you can get it from some online tool like this one
extendsclass.com/csv-generator.html
kya bhai tum direct question solve krne lg gye kuch smj hi nhi aaya
I just have doubt in how to wrap the content of file.
If you are asking about viewing a file with it's text wrapped
You can use 'fold' command
ex: fold -w40
@@MPrashant got it..Thanks
exams ke phle dekh rahe hai
Caught you😂😂
Lol same
thanks buddy really helped
Glad it helped!
Sir aapka number mil skta hai kya
You can connect via Insta or email, you can find details in About section of channel.
Thankyou!!!👍👍👍
Welcome 👍
19:28 - 🤣
clear ; cat -n data | sed '2G'