Bash Script_Fuctions

Functions Creating a function is fairly easy. They may be written in two different formats: function_name () { <commands> } […]

Bash script_ Loop

There are several Bash loop mechanisms. Pick the one which makes your code the easiest to follow. While Loops One […]

Bash script _ If statement

The basic format:   if [ <test-commands> ] then <commands> fi Note there is a space after the [ and […]

savapage (Paper Cut Alternative)

With CentOS, the following issue could not be resolved, so gave up on it, ubuntu 16.04 LTS works perfect mail.from.address […]

Linux IP table editor – UFW

Introduction UFW is a firewall configuration tool for iptables that is included with Ubuntu by default. This cheat sheet-style guide […]

Ubuntu update

Disable autoupdate Using your favorite editor open the file /etc/apt/apt.conf.d/10periodic and change: APT::Periodic::Update-Package-Lists “1”; To: APT::Periodic::Update-Package-Lists “0”; [wpaicg_chatgpt id=18007]

Selinux

Introduction Security Enhanced Linux or SELinux is an advanced access control mechanism built into most modern Linux distributions. It was […]