I know that GUI does not cover most of functionalities, for good reasons - being specialized to task (like files app), it provides more fine-grained experience.
Yet, I find that there are common commands which is terminal-only, or not faithfully implemented. for instance,
- Commands like
apt update/apt upgrade
might be needed, as GUI may not allow enough interactions with it. - I heard some immutable distros require running commands for rollbacks.
These could cause some annoyance for those who want to avoid terminal unless necessary (including me). Hence, I bet there are terminal emulators which restricts what commands you could run, and above all, present them as buttons. This will make you recall the commonly used commands, and run them accordingly. Is there projects similar to what I describe? Thanks!
Long ago I made such restricted shell with filtering the shell command history file then disabling command history logging. With some shell scripting, I think you can get more sophisticated version. What shell are you using? (Bash, Fish, Zsh, etc.)
I am using bash, which is indeed part of the problem. What emulator would you suggest, and how did you achieve it?
Bash should be fine. On typical Bash installation I think this will work (please try to understand each command line before you actually try):
$ cp ~/.bashrc ~/.bashrc.bak $ cp ~/.bash_history ~/.bash_history.bak $ printf 'set +o history' >> ~/.bashrc $ printf "sudo apt update\nsudo apt upgrade\n" > .bash_history $ (Press Ctrl+D to logout)
For the next bash session you can refer only the two commands from the history with Up/Down/C-p/C-n.