Ekstatische Lyriken Pinnwand

Omit from history

written by crunge on Saturday September 26th, 2015 -- 2:20 a.m.
in reply to My workaround for "cp code.c test.c"

edit this message - return to message index
(only moderators may edit messages)
You can set bash to treat a leading space as a signal to omit a command from history.

https://www.technovelty.org/linux/skipping-bash-history-for-command-lines-starting-with-space.html

Replies

That's awesome... - Pj - 10/3/15
Permanent bash history - crunge - 10/8/15
return to previous message - return to message index

Your Reply

Name: No registration necessary. Simply choose
a name and password and type them in.
Password:
Subject:
You may want to read the rules before you spend a lot of time writing something.
Message:
Plain Text - What you type is what you will see.
Some HTML - Use this if you are including HTML tags.
Pure HTML - Copies your post directly into the web page.
first, then