Search Results

Search: Posts Made By: dajon
2,366
Posted By dajon
how to get the path
echo /oracle/ORAHOME/test/112/bin/tnslsnr | awk '{i=index($0, "/bin"); print substr($0,1,i-1)}'

/oracle/ORAHOME/test/112
3,790
Posted By dajon
How to find DHCP IP and update
I have a similar problem and I have a solution that I've used for many years and has worked without much of a glitch.

First on my home server I have lynx installed, using it I have a script to get...
6,203
Posted By dajon
how to do it.
#!/bin/bash

dir=<some directory>

cd $dir
for ea_file in `ls *.txt`
do
fname=`echo ${ea_name} | awk 'BEGIN{FS="."}{print $1}'`
if [ -f ${ea_file}.pdf ]; then
echo "<file>" >...
9,810
Posted By dajon
I don't know why you want first and last in the...
I don't know why you want first and last in the same string but here's an answer (there are many possible methods).

There are significant benefits to keeping the first and last separate (ie, if...
10,956
Posted By dajon
scripting sftp
You can not easily script sftp, this would require using something like 'expect' (see Expect - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Expect)). If it is possible I would...
2,423
Posted By dajon
Solution to sending html in email
The best thing you can do is look at the raw output of a HTML formatted eMail then emulate it.

Here's the basics of what I did
create the script web-email.sh with the content below
#!/usr/bin/sh...
Showing results 1 to 6 of 6

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