Difference between revisions of "Sed -n"
Jump to navigation
Jump to search
(Changed redirect target from Sed to Sed (editor)) Tags: Redirect target changed, Mobile web edit, Mobile edit |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | -n Suppress the default output (in which each line, after | ||
+ | it is examined for editing, is written to standard | ||
+ | output). Only lines explicitly selected for output are | ||
+ | written. | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[sed (editor)|sed]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{sed}} | ||
+ | * {{vi}} | ||
+ | * {{grep}} | ||
+ | |||
+ | [[Category:Linux commands]] |
Latest revision as of 14:23, 2 February 2023
-n Suppress the default output (in which each line, after it is examined for editing, is written to standard output). Only lines explicitly selected for output are written.
Related[edit]
See also[edit]
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
- Editors:
vi, vim
,sed
,awk
, emacs,lineinfile (Ansible)
, Atom,paste
, Neovim, Rider,visudo, vipw
,update-alternatives
,nano
,more, less
,.vimrc
,set (vi)
zed ack, ag, grep
,egrep, fgrep
,agrep
,ngrep
,pgrep
,awk
,sed
,strings
,tr
,tail
,mtail
,git grep
,wc
,uniq
,LogQL
,findstr (Windows)
,rg, git-grep, cut
Advertising: