Installing software
| Command | Description | Remarks |
|---|---|---|
| sudo apt install <PackageName> | Install Software Package | |
| sudo apt remove <PackageName> | Remove package | -autoremove will also remove all files that are not needed anymore. |
| sudo apt show | List installed | |
| sudo apt update | Update within version | |
| sudo apt upgrade | Upgrade highest version available | |
| sudo apt –only-upgrade | No updating, but upgrading | |
| sudo apt –full-upgrade | ?? | |
| sudo apt list | grep <PackageName> | see if a package is installed | |
Users accounts
| Command | Description | Remarks |
|---|---|---|
| sudo add user <UserName> | create user | –ingroup <Groupname> |
| sudo passwd <UserName> | change password | |
| sudo chfn <UserName> | change user details | |
| sudo chsh <UserName> | change user shell (desktop) | |
| sudo usermod -a -G sudo <UserName> | add user to users who can use sudo | |
Services
| Command | Description | Remarks |
|---|---|---|
| sudo service <ServiceName> | status | start | stop | restart | |
| systemctp enable autostart | Adds it to autostart after reboot it is always started automaticly. | does not also start the service. |