In Python, it’s a best practice to use the absolute paths. It’s little bit difficult while you are working with the relative paths. An absolute path specifies a file or directory location starting from the root directory, while the relative path begins from the current working directory. At the time of execution of Python script,
Tutorial - Page 14 of 36 - DesignLinux
How to Start, Stop, or Restart Nginx
Nginx is a free, high performance and open-source HTTP and reverse proxy server. It can be used as a standalone web server, and as a reverse proxy for Apache and other web servers. In this guide, we will show you how to start, stop and restart Nginx on Linux. For a system administrator or a
Du Command in Linux
The du command is a short form of “disk usage” is used to get details of used disk space by given files or directories. Generally, it is used to find out the large size files which occupies more disk space. In this article we will cover how to use the du command in Linux. How
How to Install Odoo 14 on Ubuntu 20.04
Odoo is a popular open-source suite of business apps that help companies to manage and run their business. It includes a wide range of applications such as CRM, e-Commerce, website builder, billing, accounting, manufacturing, warehouse, project management, inventory, and much more, all seamlessly integrated. Odoo can be installed in different ways, depending on the use
Bash For Loop
Loop is the basic requirement of any programming languages. Loops are useful when you want to execute a series of commands until the certain condition is satisfied. In Bash, loops are useful for automating repetitive tasks. In this tutorial, we will see basics of for loop in Bash. There are three basic loop constructs, for
Gzip Command in Linux
The Gzip is the popular compression algorithm to reduce the size of a file with keeping file in original mode, ownership and timestamp. It also known as the .gz file format. The gzip utility is used to compress and decompress the files. In this guide, we will show you how to use the gzip command.
How to Create and Select MySQL Database
MySQL is the most popular and open-source relational database management system. In this article we will show you how to create MySQL or MariaDB database through the command line. Prerequisite# Make sure MySQL or MariaDB is already installed on your system. User account should have privileges to perform actions or have root user account. Connect
Bash if..else Statement
The if statement is the most basic concepts of any programming language. In Bash, you can also use if…else, if…elif.else and nested if statements like other programming languages. In this article, we will show you the basics of the Bash if statement and use of it in your shell scripts. if Statement# If statement can
Wall command in Linux
The wall is a command line tool used to show message on the terminals of all logged-in users. wall stands for write all. Generally, it is used by system administrators to announce of maintenance and further use. This guide covers the use of wall command in Linux. The message sent using wall will display on
Linux Tee Command with Examples
The tee command is used to read the standard input and write and writes to both standard output and one or more files at the same time. Generally, tee is used with combination of other commands through piping. In this tutorial, we’ll cover the basics of using the tee command. tee Command Syntax# Below is