Linux Index Page 2

Using the host command to perform DNS queries

The command **host** is a DNS lookup utility that can be used to make DNS queries. Check this tutorial to learn how to use the host command. We are going to explain how to use it here.

Linux Index Page 2

Linux and AMD RX card: No AMD OPENCL or NVIDIA CUDA GPUs found, exit

Check here the solution for the error "No AMD OPENCL or NVIDIA CUDA GPUs found, exit". Try to reinstall amd drivers with the command: "amdgpu-pro-install --opencl=legacy,pal --headless"

Linux Index Page 2

How to Autostart LXC Container at boot

To Start the LXC at boot use the option lxc.start.auto = 1 on you container config file located at /var/lib/lxc/CONTAINER_NAME/config

Linux Index Page 2

Test SSL / TLS with GnuTLS from the Command Line

In this tutorial we are going to use gnutls-cli from the command line to test SSL/TLS connection. This command could be useful to test a web or an imap server. Install it with: sudo apt -y install gnutls-bin. Example of usage: gnutls-cli -d 5 imap.gmail.com -p 993

Linux Index Page 2

How to change MySQL root Password

In this tutorial we explain how to reset the password of root user in MySQL. We explain how to change it using mysqladmin and using queries. We also explain how to change root password when you forgot the previous password using mysql_safe command with --skip-grant-tables

Linux Index Page 2

How to install source code from tarball files on linux?

Usually you should use your package manager to install software in Linux, but sometimes you need to install software from source code. The most common steps are to execute: ./configure;make;make install. Check here for full details

Linux Index Page 2

gpg: signing failed: Inappropriate ioctl for device

If you got the error "Inappropriate ioctl for device", try to execute export GPG_TTY=$(tty). See here for more details on the solution

Linux Index Page 2

How To Known what DNS Servers Address you are using

To see you dns servers on linux execute: cat /etc/resolv.conf. For windows ipconfig /all. check this artcile for more details.

Linux Index Page 2

Learn how To Use grep Command.

Improve as a system administrator or as a software developer and learn how to use the very useful command grep. We cover some basic usage and some advance usage. Learn here how to use regular expression with grep and how to search recursively with grep.

Linux Index Page 2

Learn programmign: How to write If else statement in C Program

Knowning how to program in C is a good desicion. Learn here how the if else statement works. See some examples to learn with more details how C code works.