Pantherina@feddit.de to linuxmemes@lemmy.world · 9 months agoRussian deletefeddit.deimagemessage-square60fedilinkarrow-up1780arrow-down111
arrow-up1769arrow-down1imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 9 months agomessage-square60fedilink
minus-squaresmbcakelinkfedilinkEnglisharrow-up19·edit-29 months agoman bash HISTCONTROL=ignorespace unset RANDOM RANDOM=4 clear ... If RANDOM is unset, it loses its special properties, even if it is subsequently reset. HISTCONTROL If the list of values includes ignorespace, lines which begin with a space character are not saved in the history list. RTFM can save your server AND your bet ;-) it is cheating of course if the predefined rules tell us about such requirements and if these are not met any more when unsetting RANDOM ahead of it. UPDATE: added “man bash” to show how to rtfm and make the following leading space more visible
man bash HISTCONTROL=ignorespace unset RANDOM RANDOM=4 clear ...
RTFM can save your server AND your bet ;-)
it is cheating of course if the predefined rules tell us about such requirements and if these are not met any more when unsetting RANDOM ahead of it.
UPDATE: added “man bash” to show how to rtfm and make the following leading space more visible