Skip to main content

Learn about > linux sed examples

Search results

1-15 of 1,360 resultsView all results

Search result title:

Extracting text using sed and regular expressions (Linux/UNIX/AIX ...

Search result description:Sep 16, 2012 ... In this posting, I'll use an example scenario of needing to parse the free ... Here is
one way to parse out what we are looking for using a sed ...

Search result title:

Save time with text editing one-liners

Search result description:Jan 16, 2007 ... Fast editing examples using cat, ed, and sed. Take a ... (cat - input1 - input2 -
input3 - input4) | mailx ted Ted, Take a look at these example files.

Search result title:

Bash by example, Part 3

Search result description:For our example, we will look at the "sed" package, a standard GNU text stream
editing utility that is part of all Linux distributions. First, download the source ...

Search result title:

Introduction to text manipulation on UNIX-based systems

Search result description:Mar 14, 2012 ... Example of grep - suppress filename in output: $ grep -h apple grocery.list
grocery.list2 apples dry apples. In many situations, a ...

Search result title:

Learn Linux, 101: Text streams and filters

Search result description:Jan 26, 2010 ... You will also learn how to use the stream editor sed. .... For example, you might
want to break a large file into CD-sized chunks so you can write ...

Search result title:

Learn Linux, 101: Search text files using regular expressions

Search result description:Feb 18, 2013 ... This article grounds you in the basic Linux techniques for searching text files
using .... Two of the examples illustrate the exit code from grep.

Search result title:

UNIX tips and tricks for a new user, Part 3: Introducing filters and ...

Search result description:May 12, 2006 ... In this tutorial, you'll learn about the grep family in depth, including the syntax ...
The objective of this tutorial is to make UNIX and Linux® users ...

Search result title:

Script file edits with the "ed" editor (Brian Smith's AIX / UNIX / Linux ...

Search result description:Aug 19, 2012 ... Many systems such as Linux support the "sed" command with the "-i" flag that
specifies the file should be edited in place. Unfortunately systems ...

Search result title:

Bash by example, Part 1

Search result description:A good example is the vipw command, which normally allows root to edit the
system .... MYFILES=$(ls /etc | grep pa) bash-2.03$ echo $MYFILES pam.d
passwd ...

Search result title:

Know your regular expressions

Search result description:Jun 14, 2007 ... You can do that with several applications, including grep , sed , and Emacs. ...
The script shown in Listing 3, for example, works only when the ...

Search result title:

Common threads: Awk by example, Part 1

Search result description:Oct 11, 2013 ... 25 Nov 2013 - In response to reader comment, added link to Common threads:
Awk by example, Part 2: Records, loops, and arrays in ...

Search result title:

dW:Linux:Linux scripting:Exploding a URL into individual characters

Search result description:in the sed command matches the characters, and the '\&' says to print each
character ... individual characters into a file using a linux bash

Search result title:

Speaking UNIX, Part 9: Regular expressions

Search result description:Apr 17, 2007 ... For example, the command line: ls -A | wc -l , which counts the number of ... The
grep utility filters input line by line and looks for matches.

Search result title:

Linux killall command explained with examples (Real world Linux)

Search result description:Jun 24, 2012 ... There are various commands/utilities available in Linux for doing this. One such
... Lets discuss the 'killall' utility in this article through some examples. ...
himanshu 2778 1999 0 14:01 pts/1 00:00:00 grep --colour=auto testKill.

Search result title:

Common threads: Awk by example, Part 3

Search result description:In this conclusion to the awk series, Daniel introduces you to awk's important
string functions, and then shows you how to write a complete checkbook-
balancing ...


1-15 of 1,360 resultsView all results