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

Re: Extract substring from cat



On Fri, 16 Oct 2015 14:15:46 +0200
"Alfred Charles Stockton" <alf@devacs.za.net> wrote:

> Now what I would like to do is to only print the substring "Debian
> GNU/Linux 8 (jessie)" from the 1st line, preferably in bash.
> 
> Please tell me how I should go about this?

lsb_release -ds
from lsb-release package.


Reply to: