Tag Archives: linux news

How To Run Cronjob Script On The Last Day Of a Month

How To Run Cronjob Script On The Last Day Of a Month

How to execute script on the last day of a month on Linux or Unix bash shell? How do I run a disk usage or custom reporting shell/perl/python script on the last day of a month on a Linux or Unix-like systems?
Halal Vitamins

Powered by WPeMatico

How To: Temporarily Clear Bash Environment Variables on a Linux and Unix-like System

How To: Temporarily Clear Bash Environment Variables on a Linux and Unix-like System

I‘m a bash shell user. I would like to temporarily clear bash shell environment variables. I do not want to delete or unset an exported environment variable. How do I run a program in a temporary environment in bash or ksh shell?
Halal Vitamins

Powered by WPeMatico

Debian 8 and Ubuntu 14.04 LTS Install Suhosin PHP Extension To Protects Server

Debian 8 and Ubuntu 14.04 LTS Install Suhosin PHP Extension To Protects Server

Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. How can I install suhosin extension on a Debian v8.x or Ubuntu Linux 14.04 LTS server?
Halal Vitamins

Powered by WPeMatico

How To Setup a LAMP Server on Debian Linux 8 (Jessie)

How To Setup a LAMP Server on Debian Linux 8 (Jessie)

How can I setup up a LAMP (Linux, Apache, MySql, PHP) stack on Debian Linux version 8 (Jessie) using command line options?
Halal Vitamins

Powered by WPeMatico

Linux / Unix: Shell Script Find Out In Which Directory Script File Resides

I need to find out in which directory my bash script resides so that I can read config file called .backup .ignore .target. For example, if my script resides in >/home/foo/script.sh, I need to read /home/foo/.{backup,ignore,target} files. How do I find out the current directory location and shell script directory location in Bash running on Linux or Unix like operating systems?

Read answer to: “Linux / Unix: Shell Script Find Out In Which Directory Script File Resides

Tweet this    Share on Facebook

Powered by WPeMatico