Last active
January 18, 2017 13:55
-
-
Save urbansky/548451d14d92e05ab05f9d550b0ac654 to your computer and use it in GitHub Desktop.
Ubuntu commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the timezone | |
dpkg-reconfigure tzdata | |
# Add init script | |
# Ubuntu 14.04 | |
update-rc.d tomcat defaults | |
# ------------------------- | |
# Package manager | |
# ------------------------- | |
# Search keyword | |
apt search | |
# Show information | |
apt show PACKAGE | |
# Install | |
apt install PACKAGE | |
# Remove | |
apt purge PACKAGE | |
# Install local package file | |
dpkg -i FILENAME | |
# List installed packages | |
dpkg -l | |
# Refresh package list | |
apt update | |
# Install updates | |
apt upgrade | |
# List files | |
apt-file list PACKAGE | |
# Remove unused files | |
apt-get autoremove | |
# Firewall | |
# https://wiki.ubuntuusers.de/ufw/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment