Difference between lsconf & prtconf cmds on AIX


 
Thread Tools Search this Thread
Operating Systems AIX Difference between lsconf & prtconf cmds on AIX
# 1  
Old 02-13-2015
IBM 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

Last edited by rbatte1; 02-13-2015 at 10:50 AM.. Reason: Grammar
# 2  
Old 02-13-2015
Code:
# 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 Smilie

Regards

Last edited by -=XrAy=-; 02-13-2015 at 10:01 AM.. Reason: because it is the same binary
These 2 Users Gave Thanks to -=XrAy=- For This Post:
# 3  
Old 03-11-2015
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
# 4  
Old 03-16-2015
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between & and nohup &

Hi All, Can anyone please help me understanding what the difference between the below two? 1. script.sh & 2. nohup script.sh & (2 Replies)
Discussion started by: Anupam_Halder
2 Replies

2. Red Hat

Difference b/n AIX & Red Hat Linux Commands

Hi All, The scripts developed in AIX can be executed in Red Hat Linux too? Because, we are migrating OS from AIX to LINUX. Will there be any differences in commands? Thanks in advance!!! Regards, U (2 Replies)
Discussion started by: unme
2 Replies

3. Shell Programming and Scripting

About date & time difference

Hello All, I was having a look on threads on the Forum about time calculation but didn't find exactly this issue. For instance, if we have these 2 dates, begin & end : 20100430235830 20100501000200 Is there anyway, awk, ksh, perl to calculate the difference in sec and get for... (6 Replies)
Discussion started by: rany1
6 Replies

4. AIX

How to upgrade AIX Firmware & TL Maintenance Level in AIX

Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS ) This article or post covers upgrades for - Hardware Management Console ( HMC ) - Firmware ( also known as microcode ) - VIO ( Virtual I/O Server = PowerVM ) - AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies

5. AIX

prtconf command not working in Aix 5.3

put prtconf command,after show this error message: bash-3.00# prtconf /usr/sbin/prtconf: msize=msize + 12544^J12544: syntax error pleae help me...........waiting for replay by mohan.s Aix sysadmin (deleted email, rule violation) (2 Replies)
Discussion started by: smohan62
2 Replies

6. UNIX for Dummies Questions & Answers

prtconf

Hi, Please let me know the equalent Linux command for "prtconf". Thanks in Advance, Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies

7. UNIX for Dummies Questions & Answers

Difference between && and -a

I've come stuck when I was making sure the hour of the day was not been two times so that the rest of the script could not be executed. Seems simple enough. I used the -a to join the two conditions together and it would run if the conditions was t/f ( it is only supposed to run if was t/t).... (3 Replies)
Discussion started by: spookyrtd99
3 Replies

8. Shell Programming and Scripting

Difference between ./ & . ./ ???

For executing a shell script, i know 2 ways: 1) using sh command 2) making the script file executable & then use ./ But i can across another way for executing the scripts... using ". ./" I tried this way.. but i was able to understand the difference between "./" and ". ./" I would be very... (2 Replies)
Discussion started by: abishekmag
2 Replies

9. Solaris

What's the difference: 'nuhup cmds' Vs 'cmds &'

Hello, Case: If I want to run a script background and logout, which command should I use ? 1)# ./script_name & 2)# nohup script_name 3)# nohup script_name & And any differences ? What happens if I redirect the output to a file? I learned somewhere that the (1) format will stop... (5 Replies)
Discussion started by: billshu
5 Replies

10. UNIX Desktop Questions & Answers

what is the difference between Unix & linux, what are the advantages & disadvantages

ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Discussion started by: cybertechmkteo
1 Replies
Login or Register to Ask a Question