Score:4

How to clear "run a comand" history?

bf flag

I have been trying to clear ubuntu's 'run my command' history but cannot find any way. if any one have the solution please tell

enter image description here

oldfred avatar
cn flag
bash history? See: https://superuser.com/questions/384366/remove-a-certain-line-from-bash-history-file/384378#384378
Terrance avatar
id flag
Related: https://unix.stackexchange.com/questions/241049/how-to-clear-history-from-run-command-alt-f2-on-gnome
Score:1
cn flag

There is no user exposed way to clear the command history of the Alt+F2 "Run a Command" dialog, but you can use the following command:

gsettings reset org.gnome.shell command-history
Aditya Vishwakarma avatar
bf flag
Thank you So much for your help.
vanadium avatar
cn flag
You are welcome. Please "accept" the answer by clicking the checkmark if this helped you to show others that your question has been addressed.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.