JIYIK CN >

Current Location:Home > Learning > OPERATING SYSTEM >

All

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

Hosting Docker Internal in Linux

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

Docker allows developers to efficiently build, test, and deploy applications by packaging them in standardized units called containers. When working with Docker containers, you may encounter scenarios where you need to connect a container t...

Full

Declaring variables in batch script

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

This article will demonstrate how to declare and define variables in a batch script. Declaring variables in batch script In Batch, you do not need to use any additional keywords to declare integer, float, double, or string type variables. T...

Full

Batch file to remove X characters from a file name

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

This article explains how we can remove specific characters from the filename of a file using a batch script. We will cover several methods below to rename files on Windows. File Explorer Renaming on Windows File Explorer offers the least f...

Full

Batch file to loop through files in subdirectories

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

This article explains how we can write a batch script to loop through files in subdirectories. We will take an example to explain the concept. Batch file to loop through files in subdirectories Assume we have the directory structure shown b...

Full

Bash copy all files from remote directory

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

This article describes methods for copying files between different hosts on a network. It also explores the scp command and how to use it to copy files from a remote location. scp command Secure Copy Protocol (SCP) is a secure copy network...

Full

Sending a message to logged in users in Bash

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

This article explores methods to send data to another logged in user in Bash. This article discusses methods to find active users and send them messages. Finding Online Users in Bash Before sending data to an online user, you must verify wh...

Full

Running Regular Expressions in Case Statements in Bash

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

This article explores regular expressions, their basic syntax, and how to run them in Bash using case and if-else constructs. Introduction to Regular Expressions A regular expression, also called regex or regexp, is a sequence of characters...

Full

Changing Directories in Bash

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

In this article, we will learn how to change directories in Bash. The term directory is used to refer to a folder. Because you frequently move between folders when using Bash and when using the Git version control system, it is essential to...

Full

Find Current Folder Name in Bash

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

Finding a directory is very easy through Bash scripting. But finding the exact directory folder name you are in right now is a bit complicated. This article will introduce three methods to find the folder name from this article directory. I...

Full

Bash History Size

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

In this article, we will learn about Bash history, its size, and how we can change our history size and handle limits. Before getting into our topic, let us first understand why we need history in Bash shell and how we can get it. Most deve...

Full

Get the Primary IP Address in Linux

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

There are various ways to get network details in Linux. We will learn some of them in this article. This simple guide is all about using different commands that can be used to get the primary IP address in Linux operating system using Bash...

Full

Print a file after skipping first X lines in Bash

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

Suppose you have a file, a large file, and you want to display its contents. How would you do it? You obviously don't want to print out the entire contents of the file, as that's not very practical. You might want to print some selective li...

Full

Reading file into variable in batch script

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

Sometimes, we need to put the entire contents of a file into a variable for various purposes, such as finding specific data from a file, replacing a specific part of a file, etc. In Batch, it is very easy to put the entire file contents in...

Full

Remove double quotes from variable in batch file

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

In batch files, variables containing multiple words or spaces must be placed in double quotes, but sometimes, we do not want to see these quotes in the output. These quotes can be removed from the variables in batch files. There are many wa...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial