How to convert to lowercase and uppercase in bash, awk, sed, and, tr and the benchmark results for each

This article introduces how to convert to lowercase and uppercase in bash, awk, sed, and tr, and the benchmark results for each. Versions The versions are as follows: OS Ubuntu 20.04.1 LTS bash GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) gawk GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0) mawk 1.3.4 20200120 sed sed (GNU sed) 4.7 tr tr (GNU coreutils) 8.30 Convert to lowercase/uppercase bash The documentation says the following:
Read more →

Modify the value of max open files for the running process

Do you know how to modify the value of “max open files” for a running process? You can modify that it is using the command “prlimit”(You can also modify more than just “max open files”). docker-prlimit-example makes it easy to try. Run the following commands in order to connect to the docker container where the unicorn process is running. $ git clone https://github.com/tkuchiki/docker-prlimit-example $ cd docker-prlimit-example $ docker build -t prlimit .
Read more →
Buy me a coffee