Difference between revisions of "Sed -n"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
-n Suppress the default output (in which each line, after | -n Suppress the default output (in which each line, after | ||
it is examined for editing, is written to standard | it is examined for editing, is written to standard | ||
Line 4: | Line 5: | ||
written. | written. | ||
− | * [[sed (editor)]] | + | == Related == |
+ | * <code>[[sed (editor)|sed]]</code> | ||
== See also == | == See also == |
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: