Learn how to read and process single character input from a Bash script in Linux.
Also find me here:
Baeldung Author
Francis Ndungu
I'm a passionate and self-driven software engineer who has worked on front-end and back-end technologies. I believe in the power of programming to transform and improve the lives of people around us and the world. When not working, I enjoy reading and playing the guitar.
Here's what I've written (so far):
Baeldung on Linux
- All
- Administration (3)
- Scripting (2)
- Processes (2)
- Files (2)
- Networking (1)
- File Searching (1)
Understanding the /etc/aliases File
Filed under Administration
Learn about the /etc/aliases file on Linux, what it’s used for, and how to make edits to it.
How to Print the Line Numbers of Files That Are Searched Through
Filed under File Searching
Learn how to print line numbers in the command line terminal when searching through text files.
Passing an Array as an Argument to a Function in a Bash Script
Filed under Scripting
Learn how to pass an array to a Bash function.
Make ls Print the Output in a Single Line
Filed under Files
Learn how to use various Bash commands to print the output of ls on a single line.
How to Move Every File That Is Not a Directory
Filed under Files
Learn how to move every file that is not a directory when working with the Linux command line and GUI.
Fix for ‘Username Is Not in the Sudoers File. This Incident Will Be Reported’
Filed under Administration
Learn how to fix the ‘Username is not in the sudoers file. This incident will be reported.’ error message on a Linux system.
Restrict a User to One Directory
Filed under Administration
Learn how to restrict a new or existing user to a single directory in Linux.
Closing a Specific Port From the Linux Command Line
Filed under Networking, Processes
Learn how to close a specific port for a running service via the Linux command line.
List Processes Attached to a Shared Memory Segment in Linux
Filed under Processes
Learn why the shared memory is an important feature for processes to share data.