Category: Linux

shape
shape
shape
shape
shape
shape
shape
shape
Standard

Changing the Hostname in Linux

Edit the “/etc/hostname” file, change the current hostname to the desired hostname. vim /etc/hostname Edit the “/etc/hosts” file, replace the old hostname with the new one. vim /etc/hosts Then run the following command: /etc/init.d/hostname.sh start That’s it! To view the current hostname, use the “hostname” command.

Standard

SSL certificate works on PC but not on Mobile

An SSL Certificate consists of three different keys: Domain certificate. Private key certificate Certificate from the Intermediary Entity (Key Bundle). When SSL is only working for some devices and for others causing such as unreliable, “untrust“, means that there is a problem in item 3 (Intermediary Entity Certificate), also called “Bundle“. What happens is that

Standard

Linux: Recursive Word or Phrase Search in Files

In addition to filtering the output of a result, the grep command can also be used to search for a word or phrase recursively in Linux directories: grep -Ril “Palavra ou frase”

Standard

Editing Files in Linux Using VI or VIM

In most distributions VI is the default text editor. Although it has good features, it is not at all user-friendly for the lay user. Execution modes In VI there are three execution modes: Navigation mode Insertion mode Command mode Navigation mode It’s the VI’s initial mode. When we start editing a file, we are dropped

Latest news

Latest news directly from our blog.