Command Line Tips & Tricks for Ubuntu Server
Find out whether a package is installed or not.
List files in a package which has been installed.
Check the reason a package was installed, ie. find out the reverse dependencies of a package.
Update package list, then preform all upgrades.
Create new user and grant root privileges.
Delete a user.
List all users.
View current user uid and groups.
Add user to a group, eg: dialout group.
Change time zone.
Manual time synchronization.
Install time synchronization service.
Update hardware clock.
List all mounted and unmounted partitions.
List mounted partitions.
View size of a particular file or folder.
Find the full path of a command.
View appended data as a file grows.
Monitor a program status in real time.
Get system environment.
Change server hostname.
View information of the linux distribution.
Check the OS installation date.