Working with Bash Shell: Variables, Built-ins, and Data Processing
Core Features of Bash
Command History: Executed commands are stored in ~/.bash_history. This file contains records from previous sessions. Commands from the current active session are held in memory and written to the file upon successful logout.
Tab Completion:
Command completion: Press Tab after the first word of a command string.
File comp ...
Posted on Sat, 19 Sep 2026 16:04:04 +0000 by nemiux
Understanding Jenkins Environment Variables in 10 Minutes
Jenkins sits at the heart of the DevOps toolchain, and CI/CD pipelines require writing Pipeline scripts. Getting started with Jenkins is straightforward—after a quick look at the documentation, concepts like agent, stages, and steps become clear, and you can quickly scaffold a pipeline.
However, when filling in the details, particularly how to ...
Posted on Sun, 28 Jun 2026 16:45:07 +0000 by Yari
Configuring Environment Variables in Linux
Setting Environment Variables in Linux
Linux offers two approaches for configuring environment variables: temporary and permanent.
Temporary Configuration
Variables set this way disappear when the terminal closes. Use the export command directly:
export APP_VAR="Hello World"
export PATH=$PATH:/opt/myapp/bin
Alternatively, assign firs ...
Posted on Thu, 11 Jun 2026 18:27:02 +0000 by blacksmoke26
Setting Environment Variables in Linux: .bashrc vs /etc/profile
Understanding Environment Variables
Environment variables are parameters that define the operating enviroment for processes and users. The most frequantly used example is PATH, which tells the system where to locate executable files when you type a command without specifying its full directory path.
For instance, after installing Java on Window ...
Posted on Tue, 19 May 2026 04:41:23 +0000 by sogno
Managing Shell Environment Variables on macOS
macOS defaults to the Zsh shell, which reads configuration from ~/.zshrc. Legacy Bash setups rely on ~/.bash_profile or ~/.bashrc. To inspect existing hidden configuration files in your home directory, run:
ls -la ~
Focus on .zshrc for modern macOS versions. Editing this file allows persistent environment variable definitions across terminal s ...
Posted on Sun, 10 May 2026 18:50:49 +0000 by amites