Knowledge base — Page 94

26.10.2022
9 662
Knowledge base / Instructions
How to count the number of lines in a Linux file

It is known that programs with graphical interface are more convenient to use, because they are designed for high requirements, plus the terminal allows you to solve certain tasks much faster. So there is a utility wc, it can count the number of lines in a file. The number of lines does not tell much, but in the case when several commands are combined, you can count the lines, taking into account the necessary parameters. How to count lines in a Linux file? Let's highlight a couple of simple but effective examples of using grep, sed and awk commands.

25.10.2022
25 330
Knowledge base / Instructions
Changing TTL in Linux

These networks are transmitted by packets. Packets pass through several other network nodes before reaching their destination to end up at the beginning of the destination's local network and then directly to the destination. It is not uncommon for such packets to go astray. In order to direct them to the right path in the network, each packet is given a certain lifetime.

24.10.2022
6 943
Knowledge base / Instructions
Disable EXT4 journaling

You probably know about what journaling is. So, it is in file systems it is needed so that it is possible to recover the file system in case of a failure. This is especially useful in cases where data write operations were performed during the failure.

23.10.2022
18 364
Knowledge base / Instructions
Disk defragmentation in Linux

Every Windows user is familiar with the fact that there is a disk defragmentation. It is necessary for the hard disk to function quickly, and it is necessary to defragment the disk on which the OS is installed. The Ext4 file system in Linux is not prone to fragmentation. But in practice, it is known that some fragmentation accumulates in case of prolonged work on the system.

22.10.2022
9 863
Knowledge base / Instructions
How to resize an image in GIMP

GIMP offers a large number of tools for working with pictures. In its principle, the graphic editor is almost identical to Adobe Photoshop, but the peculiarity of this program is that GIMP is distributed completely free of charge. However, not all users understand how to perform certain actions. Next we will tell you how to resize an image in GIMP. We will also tell you about the important nuances of using this graphic editor.

21.10.2022
6 706
Knowledge base / Instructions
Uninstall Nginx in Ubuntu

When you install and run the Nginx web server, and further, in the case of installing Apache, OpenLiteSpeed or Lighttpd and with an attempt to start can find the error Address already in use.

20.10.2022
36 586
Knowledge base / Instructions
Finding the Debian version: all the ways

We have gotten used to having a new version of Debian every few years. When a new version is released, users usually wonder what repositories will work? What versions of programs will be available?

If you have previously tried to install MySQL in newer versions of Ubuntu, you must have encountered an error when running the mysql_secure_installation command or when trying to.

10.10.2022
26 934
Knowledge base / Instructions
Changing user password in MySQL

When working with MySQL DBMS, it is extremely important to know how to change the user password. It seems that this task can be solved only if you have superuser rights. But even an ordinary user can change the password under certain circumstances. In this article, we will tell you how to do it under normal circumstances.