Tag: Perl

How to convert a string to lowercase in Bash

This note will show you how to convert a string to lowercase (small letters) on the Linux command line. To convert a string to lower case regardless of its current case, use one of the following commands. tr echo "Hi all" | tr '[:upper:]' '[:lower:]' hi all Attention! If you want to change the case of any letters other than...

How to convert a string to uppercase in Bash

This note will show you how to convert a string to upper case (capital letters, uppercase) on the Linux command line. To convert a string to capital letters regardless of its current case, use one of the following commands. tr echo "Hi all" | tr '[:lower:]' '[:upper:]' HI ALL Attention! If you want to change the case of any letters...

How to remove newline from command output and files on Linux command line

How to remove newline from a string in Bash The following characters are used for line breaks in operating systems: '\n' (newline) '\r' (carriage return) Moreover, \n is used in Linux (also called EOL, End of Line, newline). There may be variations on other operating systems. By default, many programs, Linux command line utilities automatically add the newline character –...

Configuring Apache Web Server to Run Perl Programs on Windows

Perl scripts can be run in the Apache environment in the same way as PHP scripts. To do this, you need to make a small setting. I installed the web server according to this instruction, if you installed according to a different instruction, then edit the paths to suit your values. 1. Installing Perl on Windows Download Perl for Windows...
Loading...
X