On Mon, 18 Jun 2018 13:33:10 +0000
"Dyck, Lionel B. (RavenTek)" <[email protected]> wrote:

> With z/OS 2.2 the command:  ls -la /etc returns:
> 
> total 1644
> drwxr-xr-x  16 MVSTCP   OMVSGRP     8192 Aug 10  2016 .
> drwxr-xr-x  17 MVSTCP   OMVSGRP     8192 Oct 19  2017 ..
> -rwxr-xr-x   1 MVSTCP   OMVSGRP    24486 Mar 19  2009 CSDIBMEF
> drwxr-xr-x   2 MVSTCP   OMVSGRP      256 Sep 25  2008 Printsrv
> -rwx------   1 MVSTCP   OMVSGRP       85 Jul 28  2016 auto.master
> drwxr-xr-x   2 MVSTCP   OMVSGRP      256 Sep 25  2008 bpa
> 
> But on z/OS 2.3 it returns this:
> 
> lrwxrwxrwx   1 OMVSKERN IPGROUP       12 Oct 29  2014 /etc ->
> $SYSNAME/etc
> 

In my opinion there is no change.

1. If /etc is a symlink then ls -la /etc shows the symlink

2. If /etc is a directory then ls -la shows the content of the
/etc directory.

So, I assume in your z/OS 2.2 system /etc is a directory.

If in case of a symlink pointing to a directory you want to be sure to
get the target directory contents displayed append a /, i.e. do

ls -la /etc/


-- 
Manfred

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to