Vic on Nostr: #find the linenumber history #delete nuisance line history -d linenumber #write back ...
#find the linenumber
history
#delete nuisance line
history -d linenumber
#write back to the histfile ~/.bash_history
history -w
Published at
2024-05-03 20:35:05Event JSON
{
"id": "9dbbb63dcde8b062e4d390578aeee1b300f8c853ee627a98ac2c50e221dfd94b",
"pubkey": "21b419102da8fc0ba90484aec934bf55b7abcf75eedb39124e8d75e491f41a5e",
"created_at": 1714761305,
"kind": 1,
"tags": [
[
"e",
"b9c6cd0275093e897f39d3b94201b2acc5f419b1108fe23be9fd841b766400b5",
"",
"root"
],
[
"p",
"6e468422dfb74a5738702a8823b9b28168abab8655faacb6853cd0ee15deee93"
],
[
"t",
"find"
],
[
"t",
"delete"
],
[
"t",
"write"
]
],
"content": "#find the linenumber\nhistory\n\n#delete nuisance line\nhistory -d linenumber\n\n#write back to the histfile ~/.bash_history\nhistory -w",
"sig": "8e06abd0351d8f3904dc117bbc9ef873c89423fc8a7815e3e525aaff1fce56f91f08996b78a277f2b85d8bd894563a13bb3206e647f66c73ec59ee3e74154257"
}