When scripting tools that expect user input, we can use expect to replace terminal input. Learn how to suppress logging this information.
Baeldung Author
Arjuna Sky Kok
Here's what I've written (so far):
Baeldung on Linux
- All
- Files (3)
- Scripting (2)
- Processes (2)
- Networking (2)
- Filesystems (1)
- File Searching (1)
- File Compression (1)
How to Compile Code from Vim
Filed under Scripting
If we’re using vim as our code editor, then we may wish to compile files without dropping out to the command line. We look at how vim supports executing commands such as make.
Turning Off Buffer in Pipe With stdbuf
Filed under Processes
There is a buffer between piped processes on Linux. We look at how it works and how to reconfigure it.
Configuration of Temporary Files with systemd-tmpfiles
Filed under Files, Filesystems
We can configure temporary files in Linux in a few different ways. Here, we look at how to make some common configurations.
The mtr Command in Linux
Filed under Networking
Learn about the mtr command and how to use it for testing networks in Linux.
The socat Command in Linux
Filed under Networking
The socat command can be used to relay input and output from one location to another. It can allow us to bridge between our terminal and a remote process, or to tunnel through our private networks. We look at how to use this command with a few use cases.
Track Child Processes Using strace
Filed under Processes
A quick and practical guide to tracking child processes with strace.
Compress Files Using Data from stdin
Filed under File Compression
We do not have to have something in a file to be able to compress it. We look at how to use the major compression tools with input from stdin, allowing us to compress the output of processes that are producing data.
How to Redirect Command Output in Docker
Filed under Files
Learn various ways to redirect command output in Docker.
How to Check if a File Type Exists in a Directory
Filed under File Searching, Files
In this tutorial, we’ll discuss a variety of ways to check the file types in a directory.