Archive: 2019/7

expand alias in shell script

Defining an alias within a shell scriptIf there’s a need to define an alias within a shell script, shopt needs to be defined to tell the script to expand the alias. This option is enabled by default

Rename batch of files

How to rename a batch or group of fileskreese@MacBook ~/wbsvr $ ls -l total 200 -rwx------ 1 kreese 1575811233 34652 Mar 19 16:49 httpd.conf -rw-r--r-- 1 kreese 1575811233 13609 Mar 25 08:30 vho