JIYIK CN >

Current Location:Home > Learning >

All

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

String comparison in batch files

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

A string is an ordered collection of characters. You can compare strings using conditional commands in batch files, namely, if, if-else, and for commands. Strings may contain spaces and special characters, which can cause errors in the batc...

Full

Running a batch script in silent mode

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

If you run CMD without silent mode, the command prompt will print every line of code in CMD. This article will show you how to activate CMD silent mode via batch script. We will also learn different ways to run batch scripts silently. We wi...

Full

Downloading files from URL in batch script

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

Today we have several download managers to download necessary files from the Internet. In addition, there is a download manager integrated into every web browser. But you can create a batch script that can also perform a similar task of dow...

Full

Copy files using batch script

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

Batch scripts are scripts built specifically for the Windows command line to perform a variety of tasks and execute user-directed sequences of commands. Batch scripts make it easy to use Windows PowerShell. This article will explain how to...

Full

Mapping a network drive in a batch script

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

This article will discuss how to map a network drive in a batch script. Mapping a network drive in a batch script For this purpose, we will see three formats of the same command. However, the general format of the command is: net use P: "\\...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial