Tag

expect

0 views collected around this technical thread.

Raymond Ops
Raymond Ops
May 30, 2025 · Operations

Mastering sed and expect: Powerful One‑Liner Tricks for Linux Automation

This guide introduces the Linux stream editor sed and the automation tool expect, covering essential options, line‑based editing, pattern matching, backup strategies, substitution techniques, grouping, practical exercises, non‑interactive input methods, and expect scripting fundamentals for automating interactive shell sessions.

Linux automationexpectsed
0 likes · 7 min read
Mastering sed and expect: Powerful One‑Liner Tricks for Linux Automation
Code Ape Tech Column
Code Ape Tech Column
Jul 26, 2024 · Operations

Bash Scripts for File Consistency Checks, Log Monitoring, and System Automation

This article presents a comprehensive collection of Bash scripts that perform tasks such as verifying file consistency across servers, scheduled log cleaning, network traffic monitoring, numeric analysis in files, automated FTP downloads, interactive number games, Nginx 502 detection, variable assignments, bulk file renaming, IP address validation, and various system administration operations.

AutomationSystem Administrationbash
0 likes · 24 min read
Bash Scripts for File Consistency Checks, Log Monitoring, and System Automation
Laravel Tech Community
Laravel Tech Community
Oct 27, 2022 · Operations

Three Methods to Automate Password Input for sudo, ftp, and ssh Commands

This article explains three techniques—using echo with a pipe, here‑document redirection, and an Expect script—to supply passwords automatically for sudo, ftp, and ssh commands, enabling non‑interactive execution of privileged or remote operations on Linux systems.

Automationexpectlinux
0 likes · 3 min read
Three Methods to Automate Password Input for sudo, ftp, and ssh Commands
DevOps Engineer
DevOps Engineer
Jun 14, 2020 · Operations

Automating Periodic SSH Login Checks with Jenkins and Expect

This guide explains how to use a Jenkins‑triggered shell script with Expect to regularly log into multiple remote VMs, record results, allow users to add hostnames, and commit changes to a Git repository for automated DevOps operations.

AutomationDevOpsJenkins
0 likes · 4 min read
Automating Periodic SSH Login Checks with Jenkins and Expect