Search Results

Search: Posts Made By: GaneshCPUX
Forum: HP-UX 12-07-2009
11,085
Posted By GaneshCPUX
Hi, Try a tiny shell script like: ...
Hi,

Try a tiny shell script like:
mm=`expr substr "$6" 1 2`
dd=`expr substr "$7" 3 2`
yyyy=`expr substr "$8" 5 2`"
echo "$dd/$mm/$yyyy"

Regards.
14,970
Posted By GaneshCPUX
Hi, PSB links that may be useful. ...
Hi,

PSB links that may be useful.

cadaver - command-line WebDAV client (http://www.webdav.org/cadaver/)
WebDAV Resources (http://www.webdav.org/)
DAV Frequently Asked Questions...
Forum: Solaris 12-03-2009
5,169
Posted By GaneshCPUX
Hi, 1)Is it because of the permission? ...
Hi,

1)Is it because of the permission?
Yes. As you do not have the proper permission.
2) What file is this? Is this oracle related file?
This is Oracle archieve file in...
4,315
Posted By GaneshCPUX
Use mput and mget utilities.
Use mput and mget utilities.
10,091
Posted By GaneshCPUX
Use "fc -l" to show a history of the last...
Use "fc -l" to show a history of the last commands.
4,351
Posted By GaneshCPUX
If you can put all filenames in a file, try...
If you can put all filenames in a file, try following command to get that file contents sorted.
sort -k 1,1n f1
Forum: Programming 09-30-2009
3,069
Posted By GaneshCPUX
Hi, By default the char would be a signed char....
Hi,
By default the char would be a signed char.
That is the reason you are getting negative and positive values.
Please correct it by replacing - "char" with "unsigned char;"

Hope it resolves...
2,821
Posted By GaneshCPUX
Pls refer following links: GetOptions -...
Pls refer following links:

GetOptions - extended processing of command line options (http://www.perl.com/doc/manual/html/lib/Getopt/Long.html)
Getopt::*...
1,731
Posted By GaneshCPUX
I moved "then" to the next line and it got...
I moved "then" to the next line and it got compiled without any error.
Hope this will resolve your problem.

Cheers.
2,550
Posted By GaneshCPUX
You can use cut command as follows: # cut -b8...
You can use cut command as follows:
# cut -b8 <filename>

This will return the character at 8th position. Then you can grep for those records which do not match the expression.

Hope this helps...
4,379
Posted By GaneshCPUX
Generally libstdc++ is located at path /usr/lib...
Generally libstdc++ is located at path /usr/lib :-)
Forum: Solaris 06-19-2009
8,755
Posted By GaneshCPUX
Just use the command # passwd -f...
Just use the command

# passwd -f <user-Name>
with -f the system wil force any login user to change his password

You can put this in a script like

#!/bin/ksh

IFS=':'

while read a b c...
Forum: Programming 06-19-2009
11,612
Posted By GaneshCPUX
Please check whether fpWriteFile and...
Please check whether fpWriteFile and fpWriteFileare valid pointers. Most of the time these are the pain points.
17,258
Posted By GaneshCPUX
In Solaris, from the command line run this...
In Solaris, from the command line run this command:
/usr/bin/isainfo -kv
If your OS is 64-bit, you will see output like:
64-bit sparcv9 kernel modules
If your OS is 32-bit, you will get this...
Forum: AIX 06-09-2009
3,912
Posted By GaneshCPUX
Pls use either DBX or GDB to debug the source...
Pls use either DBX or GDB to debug the source code.
Possible reasons for core dump can be -
access to non-existent (local) memory (dangling pointers) or
memory buffer overflows.
1,086
Posted By GaneshCPUX
Please go through following link. multi-thread...
Please go through following link.
multi-thread a code - dBforums (http://www.dbforums.com/unix-shell-scripts/1633851-multi-thread-code.html)
2,199
Posted By GaneshCPUX
Command uname will be quite useful for you.
Command uname will be quite useful for you.
Forum: Programming 06-05-2009
16,766
Posted By GaneshCPUX
Its basically the library needed for socket(),...
Its basically the library needed for socket(), connect() etc.
Forum: AIX 06-05-2009
5,651
Posted By GaneshCPUX
Please refer to ...
Please refer to
https://www.unix.com/aix/99325-aix-4-2-tar-using-compression.html
Forum: Red Hat 05-28-2009
11,041
Posted By GaneshCPUX
Pls refer following earlier posts
https://www.unix.com/sun-solaris/41091-command-know-port-no.html
Forum: SuSE 05-27-2009
5,146
Posted By GaneshCPUX
Could you pls try few commands like history, last etc
history command displays commands history list
last command displays a list of all users logged in and logged out.
Forum: Linux 05-15-2009
4,962
Posted By GaneshCPUX
WorkAround
Pls add a sleep statement ... i.e.
sleep 1;
after pthread_create()
And you will get what is expected.
Forum: HP-UX 05-14-2009
4,435
Posted By GaneshCPUX
Is this what is expected :-)
#include <stdio.h>

int main()
{
system("pwd");

return 0;
}
Forum: Programming 05-12-2009
3,524
Posted By GaneshCPUX
Pls check below source.
#include <iostream>
#include <stdlib.h>
#include <string.h>

using namespace std;

int main()
{
char p[] = "12.63";

char *pTok = strtok(p, ".");

int num1 =...
Showing results 1 to 24 of 24

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