Sponsored Content
Top Forums Shell Programming and Scripting Need find package that supports printf on AIX Post 303039091 by Chubler_XL on Sunday 22nd of September 2019 07:36:35 PM
Old 09-22-2019
The GNU find utility is available from AIX Toolbox for Linux Applications.

These tools are additional to the standard AIX tools of the same name, so your script will have to change the PATH variable or use a full path name to the GNU tools to utilize them.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

looking for SSL software package (AIX 5.1)

When i install SSH on AIX 5.1 I get the following message { A prerequisite package has not been installed. Open SSH requires Open SSL (Secure Sockets Layer). Please install Open SSL from the AIX Toolbox for Linux CD or Toolbox website: } I cannot find the AIX toolbox for linux CD, also on... (1 Reply)
Discussion started by: janr
1 Replies

2. Shell Programming and Scripting

find: problems escaping printf-command string

Hi Folks! Can you help me with this find -printf command. I seem to be unable to execute the printf-command from my shell script. I'm confused: :confused: My shell script snippet looks like this: #!/bin/sh .. COMMAND="find ./* -printf '%p %m %s %u %g \n'" echo "Command: ${COMMAND}"... (1 Reply)
Discussion started by: grahamb
1 Replies

3. AIX

AIX maintenance package 4.3.

Hello, we have an 7015-R40, we want to update AIX. oslevel shows 4.3.2.0 At ibm.com we found following AIX 4300-11 maintenance package Recommended maintenance for AIX 4.3.3 It's possible to update the system with this file or does we need another source? Thank you! S. (8 Replies)
Discussion started by: Sagitario
8 Replies

4. AIX

Does IBM Model No. 7026-6H1 supports AIX 5.3

Hi, I have a IBM box (RS/6000) Model No.7026-6H1, currently running AIX 4.3 and now I want to upgrade in AIX 5.3 version. Please advice Is this model supports the AIX 5.3 version and what precautions we need to take before migration Best Regds Bhupal Singh (3 Replies)
Discussion started by: bhupals
3 Replies

5. AIX

AIX relocatable package help

Hi, I have created a relocatable AIX package named Test. The USIL is /abc bash-2.05b# lsusil INSTALL PATH = /abc COMMENTS = None Generally if a package gets installed in "/opt/Test" and i want to relocate it to "/abc" it gets installed under "/abc/Test". This happens the way in Solaris,... (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies

6. Shell Programming and Scripting

find + printf help

Hi, I have a scripting assignment for an intro to linux class and I'm really confused about how to do something seemingly simple. I am supposed to Print the name of each file in the /data/dir16/subdir1 directory in the following format: "My name is: bin" The desired output example looks like:... (1 Reply)
Discussion started by: danschmidt
1 Replies

7. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

8. AIX

How to find if AIX supports GUI

Hi Everyone I'm preparing for upgrading an application. The application upgrade documents say the following. its AIX 5.3 Server. How do I find if my AIX supports the X11 windowing environment? Thanks. (1 Reply)
Discussion started by: rocker_me2002
1 Replies

9. AIX

XVFB Source package for AIX

Please send me link for XVFB Source package for AIX (3 Replies)
Discussion started by: prathap.g
3 Replies

10. Shell Programming and Scripting

Printf behavior on AIX

command: $ printf 'u1u1.%*s' 7 so if i run the above command on a linux box, i get the expected output of: jserver@jserver-VirtualBox:~$ printf 'u1u1.%*s' 7 u1u1. jserver@jserver-VirtualBox:~$ jserver@jserver-jserver:~$ it puts 7 spaces after the u1u1. but when i run it... (4 Replies)
Discussion started by: SkySmart
4 Replies
volmgt_root(3VOLMGT)					Volume Management Library Functions				      volmgt_root(3VOLMGT)

NAME
volmgt_root - return the volume management root directory SYNOPSIS
cc [ flag ... ] file ... -lvolmgt [ library ... ] #include <volmgt.h> const char *volmgt_root(void); DESCRIPTION
This function is obsolete. The management of removable media by the Volume Management feature, including vold, has been replaced by soft- ware that supports the Hardware Abstraction Layer (HAL). Programmatic support for HAL is through the HAL APIs, which are documented on the HAL web site. See hal(5). The return value of this function is undefined. The volmgt_root() function returns the current volume management root directory, which by default is /vol but can be configured to be in a different location. RETURN VALUES
The return from this function is undefined. ERRORS
This function may fail if an open() of /dev/volctl fails. If this occurs a pointer to the default Volume Management root directory is returned. EXAMPLES
Example 1 Finding the Volume Management Root directory. To find out where the volume management root directory is: if ((path = volmgt_root()) != NULL) { (void) printf("Volume Management root dir=%s ", path); } else { (void) printf("can't find Volume Management root dir "); } FILES
/dev default location for the volume management root directory ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ SEE ALSO
cc(1B), open(2), volmgt_check(3VOLMGT), volmgt_inuse(3VOLMGT), volmgt_running(3VOLMGT), attributes(5), hal(5) NOTES
This function returns the default root directory location even when volume management is not running. SunOS 5.11 8 Mar 2007 volmgt_root(3VOLMGT)
All times are GMT -4. The time now is 06:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy