Virtual Dave
For When You Can't Have The Real Thing
[
start
|
index
|
login
]
start
>
Linux
> Useful sed
Useful sed
Created by
dave
. Last edited by
dave
, 3 years and 128 days ago. Viewed 846 times. #2
[
diff
] [
history
]
[edit]
[
rdf
]
labels
attachments
(2019-01-17)
Print line X from a text file
$ sed 'LINEq;d' FILE
Delete line X in a text file
$ sed -i LINEd FILE
...for example, .ssh/known_hosts:
$ sed -i 672d ~/.ssh/known_hosts
For some reason,
ssh-keygen -R
doesn't always work for me. But the
sed
command does.
no comments |
post comment
see also:
Linux
Client Setup
snipsnap-notfound
Ping Stats Witho...
start
snipsnap-index
CAA
Fixing ...
Force NFS...
Debug S...
snipsnap-search
Use Python...
Virtual Dave
Megaplex:
Home Page
This wiki's
start
page
Send Feedback To Dave
(read this
note about local search
)
Logged in Users: (0)
… and 5 Guests.
Recently Changed
tls
systemd
Bluetooth Mouse Stops Working
pcap to netflow
Useful nfdump examples
Samba Winbind
key type ssh-rsa not in PubkeyAcceptedAlgorithms
Linux
Show POE Utilization
Read-Only Admin Profile
Grow Linux Filesystem
LDAP lookup account considerations
Fedora Upgrade Procedure
Installing From The Vault
Associating From Addresses To Inbound IP Addresses
Test SMTP-AUTH using Telnet
SSH Key Exchange Login Fails
IPSA self test failed, disable IPSA!
Missing HTTPOnly Cookie Attribute
Disable TCP Timestamps
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
Editing:
snipsnap-help
,
Image Macro
(
Et auditum est, et idcirco ego nunc simulare
)
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.
Useful:
snipsnap-help
snipsnap-macro-help
Google
snipsnap.org
| Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt