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

Re: stable x unstable.



Incoming from Alex Derkach:
> * Guilherme Rocha_Sul Solu??es (guilherme@sulsolucoes.com.br) wrote:
> > 
> > How I can to know what my distro??? If stable or unstable???
> 
> cat /etc/apt/sources/list | grep -i [un]stable | awk '{ print $3}'
> 
> That should print about 4 lines, they should all say stable or
> unstable!

Good try.

  egrep -v '^#|^$' /etc/apt/sources.list | awk '{ print $3}'

That says woody, woody/non-US, and stable/updates (among others).


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: