JIYIK CN >

Current Location:Home > Learning > OPERATING SYSTEM >

All

Modifying global variables inside a function in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

In this article, we will learn how to modify global variables within a Bash function. Modifying global variables inside a function in Bash If you declare your variables in a script, every variable in Bash is global by default, which means i...

Full

Variable interpolation in Bash scripts

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article is about using variables in Bash scripts and how to insert these variables in Bash scripts. Variables in Bash Scripts Every programming language has variables with specific data types. Similarly, Bash script also allows us to u...

Full

Check if variable contains value in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

Sometimes, we need to check if a variable contains a value. This is important when working on projects that contain user input to be run. In Bash scripting, we can check in many ways whether a variable contains a value. This article will sh...

Full

Bash waits for background processes

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article explains how to wait for background processes in Bash. Bash waits for background processes The wait command in Bash can be used to wait for all background processes to complete. This command will wait for the process and return...

Full

Running Background Processes in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

When you execute a command in the terminal, you need to wait for the command to finish executing. This is called the foreground process. However, some advanced programs need to run in the background. In Bash scripts, there is an easy way to...

Full

Changing Users in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article will explain how to change users in Bash. Bash Change User There are multiple ways to change users in Bash. We can use su command or sudo command to change users directly or use methods to switch to root user. To change users i...

Full

Find all files with extension in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article explains how to find all files with an extension in Bash. Find all files with extension in Bash Finding files with a specific extension in Bash is a simple operation. We can use the find command with the -name option to find fi...

Full

Looping through directories recursively in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article explains how to recursively loop through directories in Bash. Looping through directories recursively in Bash When dealing with different directories, it is often necessary to traverse the directories. We can use similar comman...

Full

Get the length of a string in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

Get the length of a string in Bash

In programming languages, the length or size of a data type plays an important role. It helps in list traversal and facilitates the extraction of useful information. The length is especially important when performing tasks that require trav...

Full

lsof Command in Linux

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

lsof Command in Linux

In this Linux article, we will learn about lsof command in Linux operating system. We will see how to use this command for different purposes in Linux. We use lsof the lsof command to verify the ports in use on the Linux operating system. U...

Full

Installing Deb Files in Linux

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

In this Linux article, we will learn how to install .deb (Debian Package) files on Linux systems. We will also see how to remove .deb files after installation. More importantly, we will learn different ways to install .deb files on Linux sy...

Full

Updating YUM in Linux

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article will teach us how to update YUM in Linux and how to install, update, remove, find and manage packages on a Linux system. We have also seen the difference yum update between and in Linux yum upgrade . yum update command in Linux...

Full

How to get IP address in CentOS

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This short article is a brief introduction to CentOS followed by a brief discussion on how we can get the server IP address in CentOS using the Command Line Interface (CLI). This article will discuss some of the commands and their usage for...

Full

Setting the working directory in Docker

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

If present, the working directory of a process in Compute is a directory in a linked hierarchical file system that is dynamic for each process. In Docker, we can set our working directory by editing the Dockerfile and adding the key WORKDIR...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial