Ubuntu cheatsheet

I’m using ubuntu more and more in recent times and am constantly googling commands to configure disks, mysql etc etc. ┬áSo I will document the commands I most commonly use here for my own reference.

Disk Management

 

Installing Applications

List Installed Packages – dpkg

1
2
3
4
ubuntu@ip-10-100-0-94:~$ dpkg --get-selections
accountsservice install
acpid install
adduser install

List Available Packages – get-cache

get-cache can be used to find a new package you may be looking for eg zabbix

1
2
3
4
ubuntu@ip-192-168-168-145:~$ apt-cache search zabbix
zabbix-agent - network monitoring solution - agent
zabbix-frontend-php - network monitoring solution - PHP front-end
...

Install a Package – get-apt

Install a package listed with get-cache

1
2
3
4
ubuntu@ip-192-168-168-145:~$ sudo apt-get install zabbix-server-mysql
Reading package lists... Done
Building dependency tree
...

 

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Comments are closed.