Ubuntu Server Command

by JOHN

UbuntuServer
random_image

How to install network tools like ifconfig

  • sudo apt install net-tools

Check version

  • cat /etc/os-release

Update apt-get

  • apt-get update

How to be Root

  • sudo -s

Back to user

  • su [username]

List installed packages on Ubuntu

  • apt list -installed

How many entries there are

  • apt list --installed | wc -l

To find package. ex) git

  • apt list --installed | grep git

To show package detail. ex) git

  • apt show git


0
Leave a Comment:
Search