There are many different text editor choices for a Linux system. Your choice of which text editor to use will depend on the type of work you plan on doing. For example, writing basic documents vs. coding websites or programs. Whatever your case, there are a lot of nice text editors available.
scripting
Rename all file names from uppercase to lowercase characters
As a Linux user, you’re likely already familiar with using the mv
command to rename a file on a Linux system. The task becomes a little more difficult when you need to rename multiple files at the same time on Linux.
One of the most common batch renaming jobs that are performed is to change all file names to lowercase letters. There are several different ways to do this on Linux. One way is with the native mv
utility and a bit of Bash scripting, and the other methods involve the rename
and mmv
tools, which may or may not already be installed on your Linux distro by default.
In this guide, we’ll go over various command line examples to rename all files from uppercase to lowercase letters on Linux. Some commands will work only for files, some for directories, and some commands work recursively. Take a look at all the different examples below to decide which command(s) to use that would best suit your needs.
In this tutorial you will learn:
- How to rename all files from uppercase to lowercase using mv, rename, or mmv commands
- How to install rename and mmv on major Linux distros
Rename/Replace white space in files in entire directory recursively
The purpose of this tutorial is to show various methods on how to rename or replace white space in multiple files. Some tools on a Linux system may not work properly with files that contain white spaces, which would give some users motivation to replace the white space with underscores, for example. Manipulating files without white space is much easier, as you do not have to worry about escaping the file name each time.
How to extract a number from a string using Bash example
The purpose of this tutorial is to show how to extract a number from a string using Bash – that is, either in a Bash script or from the Linux command line. It is common to use Bash as a utility to process strings or other textual data, so it is well equipped for the task of separating numbers out of a string. There are numerous ways to achieve this; see some of the examples below to get started.
How to run script on startup on Ubuntu 20.04 Focal Fossa Server/Desktop
In this article you will learn how to run script ( python, bash etc. ) on startup on Ubuntu 20.04 Server/Desktop.
How to run script on startup on Ubuntu 22.04 Jammy Jellyfish Server/Desktop
The purpose of this article is to configure a script such as a Bash script or Python script to run upon system startup in Ubuntu 22.04 Jammy Jellyfish Server/Desktop.
How to manage git repositories with Python
Neither Python nor Git need presentations: the former is one of the most used general-purpose programming language; the latter is probably the most used version control system in the world, created by Linus Torvalds himself. Normally, we interact with git repositories using the git binary; when we need to work with them using Python, instead, we can use the GitPython library.
Ping sweep script to scan and monitor network
In this tutorial, we will provide a few Bash scripts to scan and monitor the network using combination of commands such as ping
. Obviously, these scripts are no match to a full monitoring dedicated software like nagios, but they could be useful for small home brand networks, where implementing sophisticated monitoring systems can become too much overhead.
C++ : Understanding pointers
This tutorial is intended for all programing enthusiasts on all levels that wish to understand pointers in the C++ language. All code presented here is not compiler-specific, and all examples will be written in plain ANSI C++. Debates about pointers can stretch for miles, and you would need to go really far to master it all.
Write first bash script
After reading this short shell scripting tutorial, you will be able to to create and execute your own Bash shell script. No previous knowledge of shell scripting is required. However, you are expected to have some knowledge of how to start a command line terminal and how to edit text files with some text editor of your choice.
How to install Arduino IDE on Ubuntu 22.04 Jammy Jellyfish
The Arduino IDE is free software that allows you to create “sketches.” It integrates with the official website to allow you to upload your work. In this tutorial, you will see the step by step instructions to install the Arduino IDE on Ubuntu 22.04 Jammy Jellyfish Linux.
Bash get yesterday date
The purpose of this tutorial is to show how to get yesterday’s date via the Bash command line on a Linux system. The date command gives us a few ways to accomplish this. Check out the examples below to see how to retrieve yesterday’s date in Bash.