[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command history



> Is there a way to have a command that does not show up in history?
> Or a way to pipe a string where the string doesn't show up in
> history?
> 
> Ie, I set some passwords with:
> echo "some string and stuff" | sha512sum
> (Probably with cut and awk and other such things)

Apart from beginning the command with a space as already mentioned,
you could enter just the command "sha512sum" then as input type

some string and stuff

followed by Ctrl-D.

-- 
Cheers,
Clive


Reply to: