Search Results

Search: Posts Made By: Hscript
1,689
Posted By Makarand Dodmis
Dosqlplus -s /nolog << EOF spool error.log ...
Dosqlplus -s /nolog << EOF
spool error.log
whenever sqlerror exit sql.sqlcode
@$HOME_DIR/connect.sql
whenever sqlerror exit sql.sqlcode
@$SQL_FILE
spool off;
EOF
1,625
Posted By Scrutinizer
Try: if grep -wq "Hi" file && ! grep -wq...
Try:
if grep -wq "Hi" file && ! grep -wq "Hello" file
then
echo "Hi, but not hello"
fi
1,625
Posted By Scrutinizer
Try: if condition 1; then action 1 elif...
Try:
if condition 1; then
action 1
elif condition 2; then
action 2
fi

1) and 2) are the same. Option 3 cannot be used like that...
1,005
Posted By franzpizzo
Hi, the date command return a output like ...
Hi,
the date command return a output like
Thu Feb 21 18:44:53 WEST 2013
the simbol ">" redirect the output of the command date in ~/test/log/test_bat.log, if a file with the same name already...
1,441
Posted By MadeInGermany
:confused: man date :( ... ... :) ...
:confused:
man date
:(
...
...
:)
date +%H-%M
:b:
1,441
Posted By Vikram_Tanwar12
Try %H at the end
Try %H at the end
Showing results 1 to 6 of 6

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