≡ Menu

environment variable

Howto Make Script More Portable With #!/usr/bin/env As a Shebang

You may notice that most shell and Perl script starts with the following line:
#!/bin/bash
OR
#!/usr/bin/perl
[click to continue…]

Sysadmin because even developers need heroes!!!

BASH Shell: HowTo Create Empty Temporary Files Quickly

Use any one of the following command to create temporary empty file names. The first command is special as it use the redirection operator >, the redirection refers to the standard output. So you are creating a new file or destroying existing file:
[click to continue…]