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!

  • someacnt_@lemmy.worldOP
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    I am using bash, which is indeed part of the problem. What emulator would you suggest, and how did you achieve it?

    • nmtake
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      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.