Search Results

Search: Posts Made By: gbielanski
1,953
Posted By gbielanski
NUMBER=$1 if [ $# -ne 1 ] # Verify that there...
NUMBER=$1
if [ $# -ne 1 ] # Verify that there is only one argument on the command line
then
echo "Error. Can only use 0 or 1 arguments."
echo "Usage: maxlines.sh [directory]."
exit 1
fi
flag=1...
7,858
Posted By gbielanski
Cron standard output and error output is mailed...
Cron standard output and error output is mailed to your user mailbox. So please check mail command. It is possible to redefine it.
3,579
Posted By gbielanski
check this awk -v datestamp=$(date +'%D')...
check this
awk -v datestamp=$(date +'%D') 'NR==9 { printf datestamp } { print $0 } ' abc.log
1,991
Posted By gbielanski
Small fix awk ' /STARTED/ && prev=="" {...
Small fix
awk ' /STARTED/ && prev=="" { prev=$1; next } /STARTED/ { print $1-prev} '
4,405
Posted By gbielanski
Use "ll -d" to check directory and not list files...
Use "ll -d" to check directory and not list files inside
Showing results 1 to 5 of 5

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