Search Results

Search: Posts Made By: jackdaw
37,049
Posted By jackdaw
Log FILES in BASH scripting
Hi
Im new to BASH scripting, I have created a simple script


#! /bin/sh
LOCAL=/home/scanner

NOW=$(date +"%b-%d-%y")

LOGFILE="log-$NOW.log"

cd $LOCAL

echo 'Start';

echo $LOGFILE...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy