Sponsored Content
Full Discussion: Cd
Top Forums UNIX for Dummies Questions & Answers Cd Post 8018 by rwb1959 on Thursday 4th of October 2001 04:10:04 PM
Old 10-04-2001
The AIX version seems to explain it best. It states that this
is to provide exec()-able versions of shell built-ins...
Code:
#!/usr/bin/psh
# @(#)36        1.2  src/bos/usr/bin/ksh/exec-builtin.sh, cmdksh, bos430, 9737A_
430 6/1/95 00:09:57
#
# COMPONENT_NAME: (CMDKSH) Korn Shell
#
# FUNCTIONS:
#
# ORIGINS: 27
#
#
# This shell script gets installed in /usr/bin to provide an exec()-able
# version of certain shell builtins:
#       alias           command         getopts         umask
#       bg              fc              jobs            unalias
#       cd              fg              read            wait
#       hash            type
#
# These are also builtins, but already have historical version in /usr/bin:
#       false           kill            newgrp          true
#
command=`/usr/bin/basename $0`          # Invoke the ksh builtin
if [ "$command" = "type" ]
then
        whence -v "$@"
elif [ "$command" = "hash" ]
then
        alias -t - "$@"
else
        $command "$@"
fi

...interestingly though it seems to execute in the Perl Shell
#!/usr/bin/psh but I haven't verified this.

added code tags for readability --oombera

Last edited by oombera; 02-20-2004 at 11:06 AM..
 
list child(1m)															    list child(1m)

NAME
list child - Displays a list of all the child pointers whose names match the specified child name SYNOPSIS
cdscp list child child-name [with attribute-name = attribute-value] ARGUMENTS
The full name of a specific child pointer. The last simple name can contain wildcard characters. The name of a particular attribute. The value of a particular attribute. DESCRIPTION
The list child command displays a list of all the child pointers whose names match the specified child name. The last simple name can con- tain wildcard characters. You can use a with attribute-name = attribute-value clause to limit output only to child pointers whose attributes have values equal to the specified values. A space must precede and follow the = (equals sign). Privilege Required You must have read permission to the directory that stores the child pointer. If you use a with attribute-name = attribute-value clause in the command, you also need read or test permission to the selected child pointers. NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLE
The following command displays a list of all the child pointers named in the /.:/sales directory: cdscp> list child /.:/sales/* LIST CHILD /.../abc.com/sales AT 1991-10-15-15:56:00 Q1 Q2 Q3 Q4 RELATED INFORMATION
Commands: create child(1m), delete child(1m), show child(1m) list child(1m)
All times are GMT -4. The time now is 01:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy