[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-alternatives: how do i get a listing of the names of all link groups?



Paul E Condon:
> There are several command options to update alternative that require
> that the user supply a name or a specific link group.  'link group' is
> a term of art for which there is much discussion in the man page, but
> I don't see instructions for merely listing all the legitimate current
> values of the names -- sort of a pick list from which I can choose a
> string that will result in a symantically correct invocation of
> update-alternatives. 
> 
> How do I list the names of existing link groups?

I think 'ls -1 /etc/alternatives | grep -v '.gz$'' will do the job.

J.
-- 
People talking a foreign language are romantic and mysterious.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: