Hi PDreyer,
your converter to DOS is not working
$ unix2dos /etc/hosts | uuencode testScript.ksh |mailx -s "file" hok1man@test.com could not open /dev/kbd to get keyboard type US keyboard assumed
could not get keyboard type US keyboard assumed
Hi guys,
just wondering how to put attachment and send the email from unix..from solaris 10.
I usually use the mail command is "mailx"
search in man page.. no luck...
Thanks guys,
Hi feherke,
here's the output if successful or not in sybase:
if successful
(1 row affected)
off course the number of row is various.
if failed
Msg 2601, Level 14, State 6: Server 'PDS1_TEST', Line 1: Attempt to insert duplicate key row in object 'EXCPT_OUTGOING' with unique index...
Hi guys,
I've got the script which contain sybase sql as below
#!/usr/bin/ksh
isql -S.. -U.. -P.. << SQL
INSERT INTO TABLE VALUES (...)
SQL
if INSERT in sybase successful
echo "success"
else
echo "fail"
The only way I can tell whether insert successful or not is via sybase...
Hi guys,
I got an issue to find yesterday working day,
the working days is mon - fri,
so if today is monday 20080929, i need to get yesterday working days which is friday 20080926.
in linux GNU there is date --date'1 day ago', but now in UNIX there's no such thing...
can you guys help please...
Hi Anni,
I would expect once the server installed, there is some profile that system admin needs to fill and I would like to find that if it's available.
my server is solaris 10,
prtdiag doesn't give me much information about location.
hi guys,
I would like to print the output from file..
but I would like to cut out 3 lines from top and 2 lines from bottom..
is there any one liner here?
Thanks guys.
hi guys,
as title so the input like this..
a, b, c
12
345
ert, test
again
again
the expected output is :
a, b, c, 12, 345
ert, test, again, again
every three lines..
thanks heaps guys
Hi guys,
I got vim in directory /apps/solaris/bin and in that directory got vi symbolic link to vim
odyssey 3 Sep 16 01:06 vi -> vim
but if I type which vim,
/apps/solaris/bin/vim
which vi,
/usr/bin/vi
I would like to redirect vi to vim, but how come doesn't work?
but if I do...
Hi guys,
I was told by our system admin that we have remote server and 2 underlying server, here's by example :
server A -> remote server or dns alias
server A1 -> underlying server (resource server)
server A2 -> underlying server (failover server)
A
/ \
A1 A2
we always connect via...
Hi guys,
just wondering how to search deadlock in particular time in database and which query caused it?
I believe there's database log somewhere? can you help me how to find it?
do I need to be dbo_owner to execute it ?
Thanks guys,
Hi guys,
I have downloaded the findutils-4.4.0.tar.gz, but I think I need to install libgcc-3.4.6 or gcc-3.4.6 to make it run which I don't think I have access too.
Can you guys shed some light?
Thanks
Hi guys,
just wondering the easy way to find files later than particular timestamp :
ie :
I need to find file *.ksh after 05:05 in directory dir1
I know it might be simple for you..
Thanks guys,
hi,
just wondering whether you guys have used this kind the unix? seems like some command doesn't work in here.
I tried nslookup, the result is :
bash: nslookup: command not found
but if I type :
man nslookup
there is manual page about this, do you guys know how to make this command work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.