JIYIK CN >

Current Location:Home > Learning > OPERATING SYSTEM >

All

Reload .bash_profile from the command line

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

In the shell, .bash_profile is used to customize the configuration of user settings. It is stored in the root directory or home directory and is mostly hidden from other users. This file holds all the configuration of the shell and is also...

Full

Clear the Terminal Screen in Bash

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

There are various ways to clear the terminal in bash script. This article will discuss 3 methods to clear the terminal. Use tput reset to clear the terminal screen. The first method uses the keyword tput reset to clear the screen. When your...

Full

Open Emacs in Bash

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

This article will show you how to open Emacs from within Bash. We will also discuss how to install the Emacs text editor. Install EMACS in your system Suppose you don't have Emacs in your system. You can easily install it in your system wit...

Full

Renaming Files in Bash

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

With the help of Bash scripts, you can automate your tasks. File renaming is a common task on various systems. You can rename all the files manually. However, if your file names have a sequence, it is better to automate this task. This way...

Full

Difference between Bash Nohup and &

Publish Date:2025/03/21 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

Getting the absolute path in Bash

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

In this Bash article, we will learn different ways to get the absolute path in Linux. We will also learn some different Linux commands to get the absolute path of a file. Before we begin, we need to understand the basic concepts of absolute...

Full

Error handling in Bash

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

This article introduces error handling in bash. Remember, understanding exit codes, options such as errexit and trap allow us to build robust scripts and manage bash problems more effectively. Exit Codes in Bash Handling errors based on exi...

Full

How to fix the error Make Command Not Found in Cygwin

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

Cygwin allows Windows users to access certain Linux features and includes a large number of GNU and open source tools that are commonly found in popular Linux distributions. When using Cygwin, it is easy to encounter a command not found err...

Full

Solve R command not found on Bash (or Cygwin)

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

Commands may sometimes behave differently than you expect, even if it appears that you have done everything right, such as in the case of bash: '\r': command not found or similar error messages, for example syntax error near unexpected toke...

Full

Resolving NPM command not found errors in Bash

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

Node Package Manager or npm is a package manager for JavaScript programming language. It is the default package manager for the Node.js runtime environment. When you use npm the bash tool to download packages, you may sometimes receive comm...

Full

Fix No such file or directory error in Linux Bash

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

The Linux terminal allows you to execute programs. This article will explain how to correctly execute files and fix errors in Linux Bash bash: No such file or directory . There are many reasons why errors can occur in Bash bash: No such fil...

Full

Using set in Bash Shell

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

The Bash shell contains several useful built-in commands for manipulating the environment of the currently running shell session. The built-in set command provides the ability to view and change shell environment variables and options. This...

Full

Running multiple files in a batch script

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

Large scripts contain multiple files because it is easy to maintain the code. When working with larger scripts, you may want to divide them into modules to make it easier to detect any coding errors or problems. However, Batch does not have...

Full

Run the batch file as administrator

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

Batch files consist of commands that are executed by the Command Prompt. Some of these commands cannot be run without administrator privileges; therefore, it is important to run batch files as an administrator. You can manually run a batch...

Full

Check if a file exists using batch processing

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

This article will demonstrate how to use a batch script to check if a file exists through sample code. Check if a file exists using batch script The general format or syntax of the code to check if a file exists is provided below. IF EXIST...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial