Need find package that supports printf on AIX


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need find package that supports printf on AIX
# 1  
Old 09-22-2019
Need find package that supports printf on AIX

My current find command does not support printf.

I need find package that supports printf on AiX 6.1 system.

Can anyone help me with the download link or where / how / if I can find it ?

Can it be installed at a different non default location so that it can be reference without disturbing the current default find utility?
# 2  
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.
# 3  
Old 09-23-2019
Quote:
Originally Posted by Chubler_XL
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.
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/findutils/findutils-4.6.0-1.aix6.1.ppc.rpm

Can you confirm if the above rpm will work for aix 6.1

Last edited by mohtashims; 09-23-2019 at 12:15 AM..
# 4  
Old 09-23-2019
Quote:
Originally Posted by mohtashims
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/findutils/findutils-4.6.0-1.aix6.1.ppc.rpm

Can you confirm if the above rpm will work for aix 6.1
Well, it says "AIX 6.1" right in the file name, Mr. Mohtashims Smilie

What else do you want? LOL
# 5  
Old 09-23-2019
Quote:
Originally Posted by Neo
Well, it says "AIX 6.1" right in the file name, Mr. Mohtashims Smilie

What else do you want? LOL
This has dependency on coreutils.

I am writing on getting that onboarded.
# 6  
Old 09-23-2019
Quote:
Originally Posted by mohtashims
This has dependency on coreutils.

I am writing on getting that onboarded.
... and as always that should be done, and you should stage this on a development platform and confirm how to do the install, document the install details, and test results, and have it reviewed before you move this to a production environment.

Confirming (testing) how it works on AIX6.1 is your responsibility in your own development and test environment, not ours, obviously.
This User Gave Thanks to Neo For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question