kommandolinjediting
Kommandolinjediting is the practice of editing text files or streams using a text-based interface accessed from a command line. It relies on command-driven editors and utilities rather than graphical editors, and is closely tied to shell automation, scripting, and pipelines. The term encompasses both interactive line editors and non-interactive batch-editing tools.
Historically, kommandolinjediting emerged with early Unix editors like ed and ex, evolved through modal editors such
Key tools include ed/ex (line editors), vim and other terminal-based editors, and stream editors like sed and
Common techniques involve substituting text, deleting or inserting lines, and transforming fields. Examples include using sed
Advantages of such editing include speed, reproducibility, and suitability for remote or headless systems. Drawbacks include
As part of core IT skills, kommandolinjediting supports software development, system administration, and data processing, and