PreviousNext

Parent of the _n (_p)

The _p variable holds the parent of the name stored in _n. The _n variable holds the name or list of names used in the argument to the most recent operation (see Most Recent Operation Argument Name (_n)). The _p variable holds the name or list of names that are hierarchically above the name in _n (closer to the cell root).

One use of the _p variable is in traversing up a CDS hierarchy of directories. Another use is showing the access control list (ACL) of a parent object. For example the following operations view the ACLs of a server configuration object and of its parent object (/.:/hosts/krypton/config/srvrconf).

dcecp> acl show /.:/hosts/krypton/config/srvrconf/video_clip
{appl_admin cdfrwx}
{unauthenticated r}
{any_other r}
dcecp> acl show $_p
{appl_admin criI}
{unauthenticated r}
{any_other r}
dcecp>