Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] where is /usr/portage?
Date: Mon, 11 Nov 2019 20:05:52
Message-Id: 249f6721-a86f-2b9c-8d60-e5cfd8ffee22@gmail.com
In Reply to: Re: [gentoo-user] where is /usr/portage? by Francesco Turco
1 Francesco Turco wrote:
2 > On Mon, Nov 11, 2019, at 14:00, Dale wrote:
3 >> root@fireball / # cat /etc/make.conf | grep var
4 >> PORT_LOGDIR=/var/log/portage/
5 >> source /var/lib/layman/make.conf
6 >> DISTDIR="/var/cache/portage/distfiles/"
7 >> PKGDIR="/var/cache/portage/packages"
8 >> PORTDIR="/var/cache/portage/tree"
9 > I'm sure you already know that, but that's an example of a useless use of cat.
10 >
11 > The following command is better:
12 > # grep var /etc/make.conf
13 >
14 > :-)
15 >
16
17 I occasionally use grep that way, especially if I'm not sure what
18 file/directory it is in.  I use the -r option then tho.  Handy for
19 /etc/portage/ but no clue where the file might be exactly.  ;-)
20
21 Dale
22
23 :-)  :-)