background preloader

Unix

Facebook Twitter

Administration

MacPorts. Sed - An Introduction and Tutorial. Last modified: Mon Dec 2 16:50:13 2019 Table of Contents Note - You can click on the table of contents sections to jump to that section. Then click on the section header of any section to jump back to the table of contents. Copyright 1994, 1995 Bruce Barnett and General Electric Company Copyright 2001,2005,2007,2011,2013 Bruce Barnett All rights reserved You are allowed to print copies of this tutorial for your personal use, and link to this page, but you are not allowed to make electronic copies, or redistribute this tutorial in any form without permission. Original version written in 1994 and published in the Sun Observer Introduction to Sed How to use sed, a special editor for modifying files automatically. There are a few programs that are the real workhorse in the UNIX toolbox. One way to think of this is that the old, "classic" version was the basis of GNU, FreeBSD and Solaris verisons of sed.

The Awful Truth about sed Sed is the ultimate stream editor. Anyhow, sed is a marvelous utility. . Command-line Fu < The best UNIX commands on the web. Unix Server Monitoring Scripts. Linux Newbie Guide: Shortcuts And Commands. [an error occurred while processing this directive] Linux Shortcuts and Commands: Linux Newbie Administrator Guideby Stan and Peter Klimas This is a practical selection of the commands we use most often.

Press <Tab> to see the listing of all available command (on your PATH). On my small home system, it says there are 2595 executables on my PATH. Many of these "commands" can be accessed from your favourite GUI front-end (probably KDE or Gnome) by clicking on the right menu or button. Legend:<> = single special or function key on the keyboard. Notes for the UNIX Clueless:1. 7.1 Linux essential shortcuts and sanity commands <Ctrl><Alt><F1>Switch to the first text terminal. <Ctrl><Alt><Fn> (n=1..6) Switch to the nth text terminal. ttyPrint the name of the terminal in which you are typing this command. <Ctrl><Alt><F7>Switch to the first GUI terminal (if X-windows is running on this terminal).

<Ctrl><Alt><Fn> (n=7..12) Switch to the nth GUI terminal (if a GUI terminal is running on screen n-1). . ..