The hostname is set during the installation of the operating system or dynamically assigned to the virtual machine when it is created. This guide explains how to set or change the hostname on Ubuntu 20.04 without needing to restart the system. Understanding Host Names # A hostname is a label that identifies a device on
Tutorial - Page 30 of 36 - DesignLinux
How to Install Anaconda on Ubuntu 20.04
Anaconda is a popular Python/R data science and machine learning platform, used for large-scale data processing, predictive analytics, and scientific computing. Anaconda distribution ships with 250 open-source data packages, and more than 7,500 additional packages can be installed from the Anaconda repositories. It also includes the conda command-line tool and a desktop graphical user interface
How to Check if a File or Directory Exists in Bash
While working with Bash and shell scripts, you might need to check whether a directory or a file exists or not on your filesystem. In order to check whether a file or a directory exists with Bash, you can use test command. Following is the basic syntax for the test command: test EXPRESSION [ EXPRESSION
How to Install and Use PHP Composer on Ubuntu 20.04
Composer is a dependency manager for PHP (similar to npm for Node.js or pip for Python). With Composer, you can specify the PHP libraries your project depends on, and it will pull and manage all libraries and dependencies for you. Composer is used in all modern PHP frameworks and platforms such as Laravel, Symfony, Drupal,
Python Modulo Operator
The modulo operation is an arithmetic operation that finds the remainder of the division of one number by another. The remainder is called the modulus of the operation. For example, 5 divided by 3 equals 1, with a remainder of 2, and 8 divided by 4 equals 2, with a remainder of 0. Python Modulo
Modprobe Command in Linux
The Linux kernel is the core component of the Linux operating system. It manages the system’s resources, and it is a bridge between your computer’s hardware and software. The Linux kernel has a modular design. A kernel module, or often referred to as a driver, is a piece of code that extend the kernel’s functionality.
How to Install R on Ubuntu 20.04
R is an open-source programming language and free environment that specializes in statistical computing and graphical representation. It is mainly used by statisticians and data miners for developing statistical software and performing data analysis. This article covers the steps required to install R on Ubuntu 20.04. Prerequisites # Ensure that you have met the following
How to Install Mono on Ubuntu 20.04
Mono is a platform for developing and running cross-platform applications based on the ECMA/ISO Standards. It is a free and open-source implementation of Microsoft’s .NET framework. This tutorial covers the steps required to install Mono on Ubuntu 20.04. Prerequisites # The instructions assume that you are logged in as root or user with sudo privileges.
How to Delete (Remove) Symbolic Links in Linux
A symbolic link is also known as symlink or soft link, is a special type of file that serves as a reference to another file or directory. A symlink can point to a file or a directory on the same or a different filesystem or partition. This guide explains how to remove symbolic links in
How to Add Elements to a List in Python (append, extend and insert)
When working with lists in Python, you will often want to add new elements to the list. The Python list data type has three methods for adding elements: append() – appends a single element to the list. extend() – appends elements of an iterable to the list. insert() – inserts a single item at a