Merge branch 'master' of https://github.com/yafp/cheat into yafp-master

* 'master' of https://github.com/yafp/cheat:
  20151102 - Added 3 more cheats into the new apt cheatsheet
  20151102 - Adding a cheatsheet for at (apt vs apt-get)
This commit is contained in:
Chris Lane 2015-11-22 11:25:47 -05:00
commit 248f5a0526
1 changed files with 25 additions and 0 deletions

25
cheat/cheatsheets/apt Normal file
View File

@ -0,0 +1,25 @@
# Desc: Allows to update the operating system
# To search a package:
apt search package
# To show package informations:
apt show package
# To fetch package list:
apt update
# To download and install updates without installing new package:
apt upgrade
# To download and install the updates AND install new necessary packages:
apt dist-upgrade
# Full command:
apt update && apt dist-upgrade
# To install a new package(s):
apt install package(s)
# To uninstall package(s)
apt remove package(s)