Skip to main content
14 events
when toggle format what by license comment
Oct 28, 2021 at 4:23 comment added 15 Volts alias cl='printf "\e[H\e[2J"' also does the job.
Oct 28, 2021 at 4:16 history edited YorSubs CC BY-SA 4.0
added 15 characters in body
Oct 27, 2021 at 3:08 history edited muru CC BY-SA 4.0
edited title
S Oct 26, 2021 at 18:44 vote accept YorSubs
Oct 26, 2021 at 15:20 history became hot network question
Oct 26, 2021 at 14:18 answer added user313992 timeline score: 12
Oct 26, 2021 at 10:01 vote accept YorSubs
S Oct 26, 2021 at 18:44
Oct 26, 2021 at 9:55 comment added YorSubs Indeed, I agree, that's actually quite strange. "What happened before" is of general interest to almost every person that works on a terminal. Blasting that away in the brutal way that the default behaviour of clear does is hard to justify. I think I will put alias clear='clear -x' into my .bashrc and if I somehow ever want to destroy all session information, I can use \clear or create alias brutally-delete-everything='\clear' 😉
Oct 26, 2021 at 9:50 comment added john-jones I really dont understand why clear -x isnt just clears default behaviour, and then you could wipe out the history with some customized option.
Oct 26, 2021 at 9:29 history edited AdminBee CC BY-SA 4.0
Minor formatting
Oct 26, 2021 at 9:27 answer added schrodingerscatcuriosity timeline score: 4
Oct 26, 2021 at 8:22 comment added YorSubs Ah, that's great, as simple as doing clear -x, I should have noticed that before ... 🤔 Thanks.
Oct 26, 2021 at 7:51 comment added Kamil Maciorowski See this.
Oct 26, 2021 at 7:20 history asked YorSubs CC BY-SA 4.0