Sponsored Content
Full Discussion: Similar OS to AIX
Operating Systems AIX Similar OS to AIX Post 302241478 by agasamapetilon on Monday 29th of September 2008 12:34:30 PM
Old 09-29-2008
Similar OS to AIX

Is there any OS similar to AIX around but free?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

similar words

hi i have created a pipe which outputs a list of words such as: hello yay foo yah good goof and from this i want to find words which only differ by their last letters ie yay/yah and good/goof. i would only need to print out the first instance of the word. these words are not... (1 Reply)
Discussion started by: Streetrcr
1 Replies

2. UNIX for Dummies Questions & Answers

I need a Unix OS similar to HP-UX

Hi, I am trying to quickly learn Unix because I am going to be using HP-UX soon. Problem is I can't find download HP-UX. Does anyone know a Unix OS I can download that is more like HP-UX? I'm running windows vista at the moment. (3 Replies)
Discussion started by: budz
3 Replies

3. Shell Programming and Scripting

merging similar lines

Greetings, I have been trying to merge the following lines: Sat. May 9 8:00 PM Sat. May 9 8:00 PM CW Sat. May 9 8:00 PM CW Cursed Sat. May 9 9:00 PM Sat. May 9 9:00 PM CW Sat. May 9 9:00 PM CW Sanctuary Sat. May 16 8:00 PM Sat. May 16 8:00 PM CW Sat. May 16 8:00 PM CW Sanctuary Sat. May... (2 Replies)
Discussion started by: adambot
2 Replies

4. Shell Programming and Scripting

Help with awk or something similar

i have a file like this: wedd01A1 1 wedd01A2 2 wedd01A3 1 wedd02A2 3 wedd02A3 4 wadd02A1 1 wadd02A2 5 wqdd01A1 3 wsdd01A3 1 i want out like this: A1 A2 A3 wedd01 1 2 1 wedd02 0 3 4 wadd02 1 5 0 wqdd01 3 0 0 wsdd01 0 0 1 (8 Replies)
Discussion started by: aydj
8 Replies

5. AIX

monit similar in AIX

Hi Do you know if there is a similar tool like monit in AIX's packages? thanks Regards Israel. (1 Reply)
Discussion started by: iga3725
1 Replies

6. Homework & Coursework Questions

script similar to rm utility

1. The problem statement, all variables and given/known data: saferm is a replacement for the rm utility. Rather than removing files, it move files in a sub directoy called".saferm" in the user's home directory. If "~/.saferm" doesn't exist, it is automatically created. The -l options lists the ... (3 Replies)
Discussion started by: Joey12
3 Replies

7. AIX

BMC package and ingeneral all packages in AIX (Similar to pkginfo in Linux)

Hi , I want to know is there any command in AIX similar to pkginfo ? that shows details of all packages installed and we can grep whatever we need to check? Thanks Rafi (2 Replies)
Discussion started by: rafi49
2 Replies

8. Shell Programming and Scripting

Multi if or or similar

I'm trying to code a line (ksh) without much success along the lines of :- If then .....etc fi I know i could use the case statement but i'm hoping someone may know a one liner or a simple workaround. (8 Replies)
Discussion started by: squrcles
8 Replies
STRDUP(3)						     Linux Programmer's Manual							 STRDUP(3)

NAME
strdup, strndup, strdupa, strndupa - duplicate a string SYNOPSIS
#include <string.h> char *strdup(const char *s); #define _GNU_SOURCE #include <string.h> char *strndup(const char *s, size_t n); char *strdupa(const char *s); char *strndupa(const char *s, size_t n); DESCRIPTION
The strdup() function returns a pointer to a new string which is a duplicate of the string s. Memory for the new string is obtained with malloc(3), and can be freed with free(3). The strndup() function is similar, but only copies at most n characters. If s is longer than n, only n characters are copied, and a termi- nating NUL is added. strdupa and strndupa are similar, but use alloca(3) to allocate the buffer. They are only available when using the GNU GCC suite, and suf- fer from the same limitations described in alloca(3). RETURN VALUE
The strdup() function returns a pointer to the duplicated string, or NULL if insufficient memory was available. ERRORS
ENOMEM Insufficient memory available to allocate duplicate string. CONFORMING TO
SVID 3, BSD 4.3. strndup(), strdupa(), and strndupa() are GNU extensions. SEE ALSO
alloca(3), calloc(3), free(3), malloc(3), realloc(3) GNU
1993-04-12 STRDUP(3)
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy