I am doing a connect() on a nonblocking socket so that I can do an explicit timeout - rather than let the connect timeout at the kernel's default (which is particularly long). When I perform ...
As a newbie to C programs, I have encountered an error and don't know what to do next. I am using UnixWare 2.1.2. The command:
cc -s -n -L/home/user1/lib/unixware [list of files.o] -lmalloc \...
hi
what's the maximum number of characters in a filename in Unix (HP-UX) ?
Please reply as soon as possible ,This is urgent ..
thanx Suresh
I'm looking for a shell script that will allow me to log a user's actions, to ensure that a user is not using an account in an unauthorized manner. Any help would be appreciated.
marc
I want to substitute each occurence of ROOT with the
actual name.
For eg. My file name contains.
help_dir="ROOT"
lic_dir="ROOT".
I want to substitute this ROOT with for eg. /home/us...
I have a requirement to convert a file which looks something like this:
|-----------------------------------|
|CURRENT |
| |
...
Is there a utility that runs in Unix and will convert a flat Unix disk file with columnar data into a flat Unix disk file with an Excel format? Or a .dbf (xBase) format?
I get a mainframe report with metadata information related to some tables i am working with. I can use your egrep program on the report to pull off the lines i am interested in . (egrep (_tb...
If in an environment there is two crontab entries, if i need to remove both i use crontab -r, on the other if i want to remove the second one, what command should i use to remove the second en...
I would like a perl script which, given standard input:
1) Whenever it finds the string "Page:...$" (where "." is any char and $ is end-of-line), it removes this line and the subsequent 5 l...
I want to write a small csh script that when runs, it would remote log me into a specified unix terminal and continue with more commands without stopping and without interaction. Here's a smal...
i have a unix server with apache
and id like to use ssl
how can i make my site secure?
thanks
Hi
I have a build file for my C source code on NT. This file copies a .h file to a target location using the following syntax:
xcopy /I /Q xyz.h d:\temp\*.*
This works fine if my ma...
I am writing a program for BSD, and to test it, I have tried writing a program in C to test a bunch of the parameters and listen for crashing signals. I know of one error that causes the prog...
In shell scripts (korn), I often see this type of syntax.
What does this mean? Please explain! -thxs
#Set up an indicator for Server Manager
# (called EOFarch1 here) so that the #comman...
Newbie to curses.
Is it possible to increase the window size to something larger than 23 rows??. Maybe using a different TERM or something. Example would be nice. Thanks.
I have a script that will regularily FTP to a directory and download the latest file. Sometimes the file will be busy being written and the FTP transfer will fail.
How to detect this event ...
Our sysadmin recently installed g++3.0 on our IBM workstations at my request.
Unfortunately, all programmes which use the standard library give the following error at link time
ld: 071...
assuming now i have these codes in my html page, as
<OBJECT ID='EVP' CLASSID='CLSID:73020B72-CDD6-4F80-8098-1B2ECD9CA4CA' CODEBASE='http://www.myserver.net/server/vp/classic/embedded/plugins/...
I have 2 variables that were made in my script.
$var1 $var2
I want to add, divide and multiply using awk and my variables
I think it should look something like this but i cant get it......
Hi,
I have a 32 bit application running on a 64bit server.
This application has the third quadrant enabled ... which means that it can access up to 2.75Gb of memory (normally a 32bit progr...
I'm opening a pipe (in my program) to another program and must redirect stdout to a file but would like to be able to read stderr messages. Is there a way to read stderr via popen?
fp = po...
Hi,
I want to get the stack trace updated to a log when a running process crashes due to an exception.
It is a C process runnung on unix. After some search, I came thro U_STACK_TRACE(), whic...
Sys V
-----
I have a C program named 'X' uses System V message Queue and communicates to a program called 'Y'.
Posix
-----
I have another C program named 'A' which unlinks a Posix Messa...