Tutorials on Linux, Programming & Technology

Cut Command in Linux Explained

cut command in Linux | Explained

The cut command extracts specific fields or columns from a file or standard input in Linux. Read this article for information regarding this command.

Bash Loops Explained

Bash Loops | Explained

Bash loops are an essential part of any programming language as they will automate repetitive tasks to save time and minimize the lines of code.

bash if else with examples

bash if else With Examples

The bash if-else statement will let you decide certain aspects of code that you want to execute and others that you want to ignore.

How to Install MySQL on Ubuntu 22.04

How to Install MySQL on Ubuntu 22.04?

To install MySQL on Ubuntu 22.04, use the “sudo apt install mysql-server -y” command and configure using the “$ mysql_secure_installation” command.

How to Fix a Big var/log/journal

How to Fix a Big /var/log/journal?

To fix the error /var/log/journal in Linux, reduce the size of the journal file using the vacuum-size, –vacuum-time, and –vacuum-files options with the command.

Fix Too Many Open Files Linux

Fix: Too Many Open Files Linux

To fix the “too many open files” error in Linux, increase the opened files limit for the current session or for permanent.

5 Best Windows Emulators in Linux

5 Best Windows Emulators in Linux

Emulators are used in Linux to run Windows and Windows-based applications. 5 best windows emulators and their installation guides are provided in this post.

KeyError 1 exception in Python

KeyError: 1 exception in Python

To resolve this “KeyError”, we need to check the existence of the key before accessing, set the key before accessing, or use the try-except block.

unlink Command in Linux Explained

unlink Command in Linux | Explained

In Linux, the “unlink” command removes the file and link after accessing the required directory. It is useful to remove unnecessary files from the system.

How to Save a File Using Nano

How to Save a File Using Nano?

The existing file can be saved by pressing the “Ctrl+S” key in Nano Editor. Also, the “Ctrl+O” key overwrites the file with a different name or file format.

How to create bash aliases

How to Create Bash Aliases?

The bash aliases are created by adding the alias into the ~/.bashrc file or creating a separate aliases file and adding its reference to the ~/.bashrc file.

How to Connect Wifi Ubuntu Server

How to Connect Wifi Ubuntu Server?

In Ubuntu, connect the WiFi network through the “nmtui” and “GUI” methods. Both methods require SSID and passwords of a particular internet connection.

Bash concatenate Strings

How to Concatenate Strings in Bash?

To concatenate bash strings, you can use strings together ($Str1$Str2), use curly braces (${Str1}${Str2}), and use the += operator (Str1+=”$Str2”).

How to compare strings in bash

How to Compare Strings in Bash

Comparison operators like the equality (= or ==), the not equality (!=), an empty string (z), and a non-empty string (n) are used to compare strings in bash.

Bash wait command

Bash wait Command | Explained

The wait command in the Linux bash scripts waits for the previous commands to complete execution for a specific PID, for the first PID only, and all the PIDs.

Bash read Command

Bash read Command | Explained

The read command reads the standard input and executes the commands with arguments as a prompt, reads array values, and sets the characters & time limit.

How to grant root privileges in Linux

How to grant root privileges in Linux?

In Linux, the “sudo” command is utilized with “- s”, “su -” and “-i” utilities to grant the root privileges from a normal user after authentication.

Pushd and Popd Commands in Linux

Pushd and Popd Commands in Linux

The “pushd” command stores a directory path in the directory stack, while the “popd” command removes the top directory path from the same stack.

Linux head Command

Linux head Command | Explained

In Linux, the head command displays the first ten lines from the file’s content. The output of the head command depends upon the various options described here.

Python OpenCV cv2 Resize Image

Python OpenCV cv2 Resize Image

The “cv2.resize()” function is used to upscale or downscale the image. The width/height of the image can be resized separately by providing the constant value.

Dmesg Command in Linux Explained

dmesg Command in Linux | Explained

In Linux, the dmesg command is a utility to display the Kernel messages related to the Kernel operations, which can be used with different options.

~/.bash_profile | Explained

In Linux, “.bash_profile” is the hidden file created in the home directory. This file is used to customize the user configuration environment.

rename Command in Linux Explained

rename Command in Linux | Explained

In Linux, rename command is a utility that replaces any file name with your desired file name. For this command, there are various options available.

How to install OBS on Ubuntu 22.04

How to Install OBS on Ubuntu 22.04?

Run the “sudo apt install obs-studio -y” command in the terminal. OBS can also be installed from the snap, flatpak and the GUI methods explained in this guide.

Bash Case Statement

Bash Case Statement | Explained

The Bash case statement checks the multiple input values against the set cases. It executes the correct statement and quits the case statement.

Center a Text in Google Docs

How to Center a Text in Google Docs?

Google Docs offers the “Center align” icon and margin and the “Ctrl+Shift+E” shortcut key to place the text at the center of the document.

Free Checklist Templates In Google Docs

Google Docs | Free Checklist Templates

In Google Docs, checklist templates can be made from the “Checklist” icon or key “Ctrl+shift+9”. Also, free built-in templates can be used from websites.

Free Agenda Templates In Google Docs

Google Docs | Free Agenda Templates

In Google Docs, free agenda templates are added using the “From Template gallery” option from the “File” tab or the “Third-party” source.

Google Docs Sign Up Sheet Template

Google Docs Sign-Up Sheet Template

The “Table” option is used to create the Google Docs Sign-up sheet template in Google Docs. The Sign up built-in template is also useful for this task.

grep Command in Linux

grep Command in Linux | Explained

In Linux, the grep command is utilized to highlight (shows the match) the specific word, character, or string after searching the entire content in a file.

How to Embed Document in google docs

How to Add People to Google Docs?

Google Docs provides the “Share” button to add people through email or URL. Then, you can choose options “Viewer,” “Editor,” or “Commenter” to assign a role.

How to Embed Document in google docs

How to Embed Documents in Google Docs?

To embed documents, open “Google Drive”, right-click on the file, and select the format “Google Docs” from the popup list of the “Open with” option.