Search code examples
flutterandroid-studioterminalsudomacos-big-sur

How to exit sudo terminal to normal terminal on mac OS bigSur? - Flutter


How to exit sudo terminal to normal terminal on macOS bigSur?

enter image description here


Solution

  • If you are stuck as shown in the screenshot, just hit “Ctrl + c”. This will terminate the current std-reader/process and give you the control.

    If you are already signed in to another user with su. You can go back to previous session/user by simply typing “exit”.