What is sed command used for in Linux?
Experience Level: Junior
Tags: Linux
Answer
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient.
Related Linux job interview questions
How do you autocomplete a command in a Linux terminal?
Linux JuniorWhat is a difference between chown and chmod in Linux?
Linux JuniorWhat is userdel command used for in Linux?
Linux JuniorWhat is useradd command used for in Linux?
Linux JuniorWhat is hostname command used for in Linux?
Linux Junior