Bash String Manipulation Techniques
Concatenating StringsVariables can be joined by placing them adjacent to each other.prefix="sys"
suffix="_log"
combined="${prefix}${suffix}"
echo "$combined" # Output: sys_logExtracting Substrings by IndexRetrieve a portion of a string by specifying the starting position and length using the format ${variable:offset:length}.text="deployment"
s ...
Posted on Sun, 19 Jul 2026 16:51:45 +0000 by kitegirl
Setting Up Remote SSH Access via NAT Traversal
Deploying a NAT Traversal Tunnel for External SSH Connectivity
A NAT traversal service bridges the gap betwean a remote client and a server situated behind a firewall or NAT device. This walkthrough covers establishing an SSH pipe using a cloud-based relay platform.
Provisioning the Tunnel on the Management Console
Navigate to the service dash ...
Posted on Sun, 19 Jul 2026 16:49:06 +0000 by romano2717
Installing Elasticsearch 7.x on Linux Systems
This guide covers the complete process of setting up Elasticsearch 7.x on a Linux environment, including download, configuration, user setup, and automatic startup configuration.
Downloading the Distribution Package
Obtain the desired Elasticsearch version from the official archive repository. The folowing commands download the archive and extr ...
Posted on Fri, 17 Jul 2026 17:06:35 +0000 by akjackson1
Installing and Configuring MySQL 8.0 on CentOS 7
Environment
CentOS Linux release 7.5.1804 (Core)
MySQL version: mysql80-community-release-el7-1
Pre-installation Check
CentOS 7 ships with MariaDB by default. Verify weather MySQL is already installed:
rpm -qa | grep mysql
[admin@localhost ~]$ rpm -qa | grep mysql
[admin@localhost ~]$
An empty result indicates no MySQL packages are present ...
Posted on Thu, 16 Jul 2026 16:49:59 +0000 by Chiaki
Managing Java Applications on Linux Systems
Running Java Applications in the Background
To execute a JAR file as a background process on Linux, utilize the nohup command combined with the ampersand symbol. This approach ensures the process continues running after terminal session termination.
nohup java -jar application-service.jar > runtime.log 2>&1 &
nohup: Maintains pr ...
Posted on Thu, 16 Jul 2026 16:39:15 +0000 by kam_uoc
Essential Linux Commands for System Administration
The Linux terminal serves as the interface between users and the kernel, interpreting shell commands that control system operations. Mastering these commands is essential for effective system management.
Keyboard Shortcuts
Ctrl+Alt+T: Launch new terminal
Ctrl+Shift+N: Open terminal in current directory
Privilege Escalation
The sudo comand all ...
Posted on Wed, 15 Jul 2026 17:25:45 +0000 by android6011
Configuring Linux Environment for Machine Learning Development
Development Tasks
Primary Task
Establish SSH connection with port forwarding and execute `hello_world.py`
10min
Optional Task 1
Execute fundamental Linux commands on the development machine
10min
Optional Task 2
Connect to development machine remotely using VSCode and ...
Posted on Mon, 13 Jul 2026 16:51:49 +0000 by kelliethile
Linux File System Essentials
Common storage devices include solid-state disks, SD/MMC cards, and USB thumb drives.
Popular file systems are ext4, FAT32, NTFS, JFFS2, and NFS.
The Virtual File System (VFS) acts as an abstraction layer for diverse file systems, offering a consistent application programming interface (API). This lets user-space programs interact with any moun ...
Posted on Mon, 13 Jul 2026 16:47:02 +0000 by JKinBlack
Understanding Linux I/O Redirection: Combining stdout and stderr with >file 2>&1 &
The syntax command >file 2>&1 & is a common yet frequently misunderstood shell construct. It performs three distinct operations in one line: output redirection, error stream merging, and background execution.
File Descriptors and Stream Behavior
Every process in Linux starts with three default file descriptors:
0 (stdin): Input s ...
Posted on Mon, 13 Jul 2026 16:28:26 +0000 by usawh
Linux Core Concepts: Memory, Processes, IPC, and I/O Multiplexing
Inspecting Process Memory Usage
Using top
PID – Process ID
USER – Owner
PR – Priority (lower = higher)
NI – Nice value
VIRT – Virtual memory
RES – Physical memory
SHR – Shared memory
S – State (S=sleep, R=run, Z=zombie, N=negative nice)
%CPU – CPU usage
%MEM – Physical memory ratio
TIME+ – Cumulative CPU time
COMMAND – Execu ...
Posted on Sun, 12 Jul 2026 17:21:43 +0000 by Warboss Alex