Search Results

Search: Posts Made By: arukuku
1,303
Posted By expert
get the environment variable TZ from change it. ...
get the environment variable TZ from change it.
for ex,
if the TZ is CST6CDT then do it as below.


--> echo $TZ
CST6CDT
--> TZ=CST5CDT
-->date


now it should give you the time reqd .....
1,303
Posted By methyl
Please post your Operating System and version and...
Please post your Operating System and version and what Shell you use.
Please post whether you have the GNU date command.


Please post sample input data (already done), a better description of...
1,303
Posted By jim mcnamara
What operation do you want? date "subtraction"? ...
What operation do you want? date "subtraction"?
What you are showing us is ONE of the input operands if that is the case.


Jul 18 01:00:00 [minus something] = Jul 17 00:00:00 (probably 25...
3,153
Posted By thegeek
redirect stderr .. cp filea fileb...
redirect stderr ..

cp filea fileb 2>/dev/null
3,153
Posted By ahamed101
cp src_file dest_file 2>/dev/null ...
cp src_file dest_file 2>/dev/null


--ahamed
31,615
Posted By balajesuri
Another work around: awk 'tolower($0) ~...
Another work around:
awk 'tolower($0) ~ /error/' inputfile
31,615
Posted By ahamed101
awk 'BEGIN{IGNORECASE=1}...
awk 'BEGIN{IGNORECASE=1} /error|warning|exception/' infile
--ahamed
Showing results 1 to 7 of 7

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