Learn how to move the first ‘n’ files using various Linux commands and Bash scripting methods.
Also find me here:
Baeldung Author
Francis Ndungu
I am a software developer with 4+ years of professional experience in both front-end and back-end technologies. My main area of expertise is all things Javascript. I am thrilled with building responsive web applications. Currently exploring the creation of complex but efficient user interfaces using the React framework. Other interests include exploring new technologies, collaborating on projects with other developers, and playing the guitar.
Here's what I've written (so far):
Baeldung on Linux
- All
- Administration (6)
- Files (3)
- Scripting (2)
- Processes (2)
- Web (1)
- Networking (1)
- Installation (1)
- File Searching (1)
- File Editing (1)
- File Compression (1)
How to Set a System-Wide Default Browser
Filed under Administration, Web
Learn how to configure the default Web browser in a GNOME environment.
How to Redirect Output of a Program to a Zip File
Filed under File Compression
Learn how to redirect the output of a program to a Zip file in the Linux shell.
Installing Firefox Developer Edition on Linux
Filed under Administration, Installation
Learn how to install Firefox Developer Edition on Linux.
How to Convert a Full-Color Image to Black-and-White
Filed under File Editing
Learn how to convert a full-color image to black-and-white via Linux command line and GUI.
How to Set an Unlimited Bash History
Filed under Administration
Learn how to set an unlimited history for Bash terminal commands in Linux.
Reading a Single Character in Shell Script
Filed under Scripting
Learn how to read and process single character input from a Bash script in Linux.
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.