SED -Tutorial


Questioning Is The Beginning Of Intelligence

- Letsfindcourse


The sed command is a stream editor. It is a utility in Linux systems srl SYSNET is sed for home page text replacement, manipulations, search and replace, insert, delete, or search text.

This tutorial means that this is a brief introductory guide to SED that will help give beginners a solid foundation about concrete tasks. It is worth noting that the tutorial also omits many commands.If you are a developer, administrator, or a person who loves GNU / Linux, then this tutorial is for you.

What is SED?

A stream editor is used to make text changes on an input stream. SED works by making only one pass on the input (s), and is more efficient as a result. But it is SED's ability to filter text in a pipeline that specifically distinguishes it from other types of editors.


Uses of SED:-

Use of Sed is as follows:

1. Substitution of text
2. Selective printing of text files
3. In-a-place editing of text files
4. Non-interactive editing of text files.

Sed Example:-

1. sed -f script.sed file.txt 
2. sed '$d' file.txt


1. Write all commands in script.sed and execute them.
2. Delete the last line.




Visit :


Discussion



* You must be logged in to add comment.

pHqghUme
555

pHqghUme
555

pHqghUme
555

pHqghUme
-1 OR 2+522-522-1=0+0+0+1 --

pHqghUme
-1 OR 3+522-522-1=0+0+0+1 --

pHqghUme
-1 OR 3*2<(0+5+522-522) --

pHqghUme
-1 OR 3*2>(0+5+522-522) --

pHqghUme
-1 OR 2+177-177-1=0+0+0+1

pHqghUme
-1 OR 3+177-177-1=0+0+0+1

pHqghUme
-1 OR 3*2<(0+5+177-177)

pHqghUme
-1 OR 3*2>(0+5+177-177)

pHqghUme
-1' OR 2+109-109-1=0+0+0+1 --

pHqghUme
-1' OR 3+109-109-1=0+0+0+1 --

pHqghUme
-1' OR 3*2<(0+5+109-109) --

pHqghUme
-1' OR 3*2>(0+5+109-109) --

pHqghUme
-1' OR 2+638-638-1=0+0+0+1 or 'Z5kAqJZj'='

pHqghUme
-1' OR 3+638-638-1=0+0+0+1 or 'Z5kAqJZj'='

pHqghUme
-1' OR 3*2<(0+5+638-638) or 'Z5kAqJZj'='

pHqghUme
-1' OR 3*2>(0+5+638-638) or 'Z5kAqJZj'='

pHqghUme
-1" OR 2+84-84-1=0+0+0+1 --

pHqghUme
-1" OR 3+84-84-1=0+0+0+1 --

pHqghUme
-1" OR 3*2<(0+5+84-84) --

pHqghUme
-1" OR 3*2>(0+5+84-84) --

pHqghUme
if(now()=sysdate(),sleep(15),0)

pHqghUme
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

pHqghUme
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

pHqghUme
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

pHqghUme
-1; waitfor delay '0:0:15' --

pHqghUme
-1); waitfor delay '0:0:15' --

pHqghUme
1 waitfor delay '0:0:15' --

pHqghUme
CxfRAWXw'; waitfor delay '0:0:15' --

pHqghUme
-5 OR 944=(SELECT 944 FROM PG_SLEEP(15))--

pHqghUme
-5) OR 266=(SELECT 266 FROM PG_SLEEP(15))--

pHqghUme
-1)) OR 900=(SELECT 900 FROM PG_SLEEP(15))--

pHqghUme
iAWxmORE' OR 75=(SELECT 75 FROM PG_SLEEP(15))--

pHqghUme
o66ev0mH') OR 511=(SELECT 511 FROM PG_SLEEP(15))--

pHqghUme
AljuwxHJ')) OR 651=(SELECT 651 FROM PG_SLEEP(15))--

pHqghUme
555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

pHqghUme
555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

pHqghUme
1'"

pHqghUme

pHqghUme
@@ovsPt

pHqghUme
555

pHqghUme
555

pHqghUme
555