JIYIK CN >

Current Location:Home > Learning >

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

Including a script file in another Bash script

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

This article discusses different ways to include a Bash script file into another script file. Including files in Bash scripts Including or reusing scripts in Bash is very simple. The source keyword is similar to that in C/C++ #include . To...

Full

Difference between Bash Nohup and &

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

This short article introduces the nohup command and the control operator to run Linux processes in the background through Bash. In addition, we will further study the key differences between nohup and . Running Linux Processes in the Backgr...

Full

Urlencode data for Curl command in Bash

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

curl is a Linux command line utility that transfers data from one machine to another. It works with multiple protocols including HTTP, DICT, FILE, FTP, FTPS, IMAP, IMAPS, POP3, etc. This article will teach us how to urlencode data for curl...

Full

Syntax Error Near Unexpected Token in Bash

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

This article demonstrates how to identify and correct unexpected token syntax errors due to invisible characters in Bash scripts. Syntax Error Near Unexpected Token in Bash Sometimes, a syntactically-seeming Bash script just doesn’t work....

Full

Bash Overwrite File

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

In this bash article, we will learn how to overwrite files in Linux. For this, we will learn different methods and Linux commands to overwrite files in bash using Linux operating system. Before we begin, we must understand what it means to...

Full

Opening HTML files with Bash

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

In this article, we will see how to open HTML files using the default browser on Mac using Bash. Opening HTML files with Bash To open a .html file, first, we need to create a file name with a .html extension. example: We can see that we hav...

Full

Check if a file is empty in Bash

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

Often you'll need to check if a file is empty, and luckily there are some easy ways to do this using Bash in the terminal or even using a Bash script. Use the test command with the -s option flag in Bash to check if a file is empty The test...

Full

Recursively search for files in Bash

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

This article is about the command in Bash find . This article will discuss the method of using the command in Bash find to find files of a specific type. Recursively search for files using find command in Bash The command line tool for navi...

Full

Remove Blank Lines in Bash

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

When working with files, you may need to remove blank lines from a file before displaying it. In Bash Script, there are several ways to remove blank lines from a file. In this article, we will see some simple ways to remove blank lines from...

Full

Finding File Size in Bash

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

If you are creating a Bash script that transfers files from one location to another, you may need to know the size of the files you are processing. There are several ways to find the size of a file in Bash scripting. This article will show...

Full

Deleting Lines from a File in Bash

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

In Bash scripting, there are several ways to delete a line from a file. This article will discuss different ways to delete unnecessary lines from a file. Assume that we have a text file named Test.txt with the following content. This is the...

Full

Reading a file into an array using Bash

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

This article shows some ways to read lines from a file and load them into an array using Bash. First, we'll look at the readarray method. Afterwards, we'll look at a more general method for reading files into Bash arrays. Read a file into a...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial