Difference between revisions of "Sed -n"
Jump to navigation
Jump to search
(Removed redirect to Sed (editor)) Tags: Removed redirect, Mobile web edit, Mobile edit |
|||
Line 5: | Line 5: | ||
* [[sed (editor)]] | * [[sed (editor)]] | ||
+ | |||
+ | == See also == | ||
+ | * {{sed}} | ||
+ | * {{vi}} | ||
+ | * {{grep}} | ||
+ | |||
+ | [[Category:Linux commands]] |
Revision as of 07:48, 30 November 2022
-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.
See also
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: