From IT Skills
Jump to: navigation, search
  • disk space: df -h
  • top cpu/memory processes: top
    • pgrep firefox - process by name
  • network usage: cat /proc/net/dev

curl -s | python -

  • delete dirs rm -r dirName

firewall[edit | edit source]

  • sudo ufw allow from
  • sudo ufw enable
  • sudo ufw allow 80
  • sudo ufw allow 443
  • ufw status numbered

iptables[edit | edit source]

  • показать все правила: iptables -L -n
  • what is listened: netstat -tuwpln

network[edit | edit source]

you should no longer edit /etc/resolv.conf directly; instead you should configure your network interface configuration utility to provide the right information to resolvconf. For Ubuntu Server the network interface configuration utility is ifup and it is configured by the file /etc/network/interfaces. For Ubuntu Desktop the network interface configuration utility is NetworkManager.

OS[edit | edit source]

  • look on /var/log/syslog
  • sudo apt autoremove - enough when clearing from autoupgraded boot images
  • apt-get purge

autoupdate disable[edit | edit source]

sudo systemctl stop apt-daily.timer
sudo systemctl disable apt-daily.timer
sudo systemctl disable apt-daily.service
sudo systemctl daemon-reload

Ubuntu 3D[edit | edit source]

Pages in category "Linux"

The following 2 pages are in this category, out of 2 total.