Difference between lsconf & prtconf cmds on AIX

Friends,

Could someone answer me on a silly question of mine:

What's the difference between lsconf & prtconf commands of AIX? I find the o/p's of either of these commands to be same.

Excuse me if I'm missing something, also I google-ed about it before turning down here for answer.

Thanks,
-- Souvik

# lslpp -f bos.rte.diag
  Fileset               File
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.rte.diag 7.1.0.15
                        ...
                        /usr/sbin/lsconf -> /usr/sbin/prtconf
                        /usr/sbin/prtconf

Hmm,

there seems to be no difference :slight_smile:

Regards

2 Likes

On my AIX 6.1.8.2 server, they are hard linked (same inode #)

#ls -li /usr/sbin/lsconf /usr/sbin/prtconf
463 -r-xr-xr-x 2 root system 14120 Jul 2 2012 /usr/sbin/lsconf
463 -r-xr-xr-x 2 root system 14120 Jul 2 2012 /usr/sbin/prtconf

iirc prtconf came up long after lsconf - and just to be more 'lookalike' with other systems that prefix commands with prt.

Further, I think they also used to have a different 'look', i.e., one was verbose (prtconf) by default, while lsconf - well was lsconf.

Now however, they seem to be 'literally' the same in their behavior/output. Sigh.