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
Commands Reference, Volume 1, a - c

apropos_Command

  Purpose

   Locates commands by keyword lookup.

  Syntax

   apropos [ -M PathName ] Keyword ...

  Description

   The apropos command shows the manual sections that contain any
of the
   keywords specified by the Keyword parameter	in  their  title.
The apropos
   command  considers each word separately and does not take into
account if a
   letter is in uppercase or lowercase. Words that  are  part  of
other words
   are	also  displayed.  For  example, when looking for the word
compile, the
   apropos command also finds all instances of the word compiler.
The
   database  containing  the  keywords	is /usr/share/man/whatis,
which must
   first be generated with the catman -w command.

   If the output of the apropos command begins with  a	name  and
section
   number,  you  can enter man Section Title. For example, if the
output of the
   apropos command is printf(3), you can enter man  3  printf  to
obtain the
   manual page on the printf subroutine.

   The	apropos  command  is  equivalent to using the man command
with the -k
   option.

     Note: When the /usr/share/man/whatis database is built  from
the HTML
     library using the catman -w command, section 3 is equivalent
to section
     2 or 3. See the man command for further explanation of  sec-
tions.

  Flag

	       Specifies  an  alternative search path. The search
path is
   -M PathName specified by the  PathName  parameter,  and  is	a
colon-separated
	       list of directories.

  Examples

    1. To find the manual sections that contain the word password
in their
       titles, enter:

	 apropos password

    2. To find the manual sections that contain the  word  editor
in their
       titles, enter:

	 apropos editor

  File

   /usr/share/man/whatis	      Contains	the  whatis data-
base.

  Related Information

   The catman command, man command, whatis command.

________________________________________________________________________________

		      Commands Reference, Volume 1, a - c

apropos_Command

  Purpose

   Locates commands by keyword lookup.

  Syntax

   apropos [ -M PathName ] Keyword ...

  Description

   The apropos command shows the manual sections that contain any
of the
   keywords specified by the Keyword parameter	in  their  title.
The apropos
   command  considers each word separately and does not take into
account if a
   letter is in uppercase or lowercase. Words that  are  part  of
other words
   are	also  displayed.  For  example, when looking for the word
compile, the
   apropos command also finds all instances of the word compiler.
The
   database  containing  the  keywords	is /usr/share/man/whatis,
which must
   first be generated with the catman -w command.

   If the output of the apropos command begins with  a	name  and
section
   number,  you  can enter man Section Title. For example, if the
output of the
   apropos command is printf(3), you can enter man  3  printf  to
obtain the
   manual page on the printf subroutine.

   The	apropos  command  is  equivalent to using the man command
with the -k
   option.

     Note: When the /usr/share/man/whatis database is built  from
the HTML
     library using the catman -w command, section 3 is equivalent
to section
     2 or 3. See the man command for further explanation of  sec-
tions.

  Flag

	       Specifies  an  alternative search path. The search
path is
   -M PathName specified by the  PathName  parameter,  and  is	a
colon-separated
	       list of directories.

  Examples

    1. To find the manual sections that contain the word password
in their
       titles, enter:

	 apropos password

    2. To find the manual sections that contain the  word  editor
in their
       titles, enter:

	 apropos editor

  File

   /usr/share/man/whatis	      Contains	the  whatis data-
base.

  Related Information

   The catman command, man command, whatis command.
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy