Elementary OS Terminal Tutorial for Beginners

March 25, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Administrating

  1. 8. Getting Admin Power

    Last How to Get the Admin Super-Powers

    To Login as SuperUser:

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    Then to Logout:

    exit

    (To Protect Your System from the potential Damages of an Hazardous ‘Crazy’ Command Execution the Logout ‘Should’ be Executed Every Time a Conscious and Meaningful Series of Commands has been Achieved… )
    Finally, to Execute a Single Command as SuperUser:

    sudo su -c '[myCommand]'

    Or:

    sudo [myCommand]

    For Example to Edit the Repository Source file with nano CLI Editor:

    sudo nano /etc/apt/sources.list

    Ctrl+x to Save Changes and/or Quit ;)

  2. Congratulations You are now fully Initiated to the awesome Linux Elementary OS Command Line Shell. ;)


Tags: , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress