Meniu

Useful commands for the terminal, valid in Ubuntu, Linux Mint and derivatives

The terminal is the fear of many and, why not, the excuse they try to use to run Linux. Linux is not just a terminal, as many believe, but much more. Maybe many did not know this, but an equivalent of the terminal also exists on iOS or Windows. Of course, this does not prevent anyone from using these operating systems and there are no criticisms of them on this subject.

Ubuntu and its derivatives can be extremely easily controlled with the help of the terminal. In its youth, Linux required only terminal work, and old Linux users and newcomers love it. Besides being easy and interesting, it's also fun.

We have prepared below a small collection of 11 useful commands with which you can do some basic things. Working through the terminal does not involve copy paste but writing the order, if you want to have the satisfaction of your work.

Although I think it is already known, many of the commands will require you to enter the root password. When you write it, the field in the terminal, for security reasons, will not display any characters. It is also possible that the terminal, in order to finish its work, may ask you to communicate more with it, ie to agree or not to agree with certain changes. With a little attention and courage, you will succeed.

Update the local package list. The operating system updates its database.

sudo apt-get update

Install the latest available versions of existing software packages on your computer. No new packages will be installed or removed to address the dependencies they need.

sudo apt-get upgrade

Install a new version of the operating system when it is available, and solve the necessary dependencies.

sudo apt-get dist-upgrade

allows the installation of a new application

sudo apt-get install + application name

Example of installing VLC Player

sudo apt-get install vlc

uninstalling an application / package

sudo apt-get remove + application name

Example of uninstalling an application

sudo apt-get remove vlc

view all open processes

ps - aux

starts from the terminal, as root, a certain application

sudo + application name

Example of application started as root

sudo firefox

Example of application started from the terminal

VLC

restart the operating system

sudo reboot

turn off the operating system

sudo poweroff

program the operating system to shut down after a certain time

sudo shutdown -h (time) (message)

Example of scheduled shutdown of the operating system

sudo shutdown -h 19:04 "The system shuts down"

... etc

FlorinM

Utilizator Linux - Solus OS, pasionat de calatorii.
  • | 2708 articole

Nici un comentariu inca. Fii primul!
  • powered by Verysign