Greg Wooledge writes:
> For example, on my current machine, the network interface is named "eno1".
> To bring this interface up, if it's not already up, I would run:
>
> ifup eno1
Um, ifup takes -a to bring all interfaces marked auto up. So that's the
obvious command to try and if it doesn't
On Mon, Mar 18, 2024 at 3:12 PM Andrew M.A. Cater wrote:
> On Sun, Mar 17, 2024 at 10:49:16PM +0100, Miguel A. Vallejo wrote:
> > Greg Wooledge () wrote:
> >
> > > It's not just you. The use of three "b" names in a row (buster,
> > > bullseye, bookworm) was in my opinion a poor decision. I've ta
On 17/03/2024 23:56, Greg Wooledge wrote:
On Sun, Mar 17, 2024 at 11:14:56PM +0700, Max Nikulin wrote:
args() { printf '%s\0' a b c d; }
args | xargs -0 sh -c 'count() { echo $#; }; count "$@"' sh-count
It would be easier in the case of script file instead of shell function. An
assumption is t
On Sun, 17 Mar 2024, Greg Wooledge wrote:
Tim's assumption here is that he can write a function which emits a
stream of whitespace-separated words, and use this safely in an unquoted
command substitution.
count $(args)
I'm guessing "count" is a stand-in for something more complex, but $(arg
On Sun, Mar 17, 2024 at 10:49:16PM +0100, Miguel A. Vallejo wrote:
> Greg Wooledge () wrote:
>
> > It's not just you. The use of three "b" names in a row (buster,
> > bullseye, bookworm) was in my opinion a poor decision. I've taken
> > to calling the releases by their numbers (10, 11, 12) inste
Greg Wooledge () wrote:
> It's not just you. The use of three "b" names in a row (buster,
> bullseye, bookworm) was in my opinion a poor decision. I've taken
> to calling the releases by their numbers (10, 11, 12) instead of
> their codenames to avoid confusion wherever possible.
>
I feel asham
> Can anybody suggest how to get the networking running?
Have you searched the web for answered?
I suspect searching for "get the networking running" or "fix my
problems" will get you up and running in no time.
Stefan
On Sun, Mar 17, 2024 at 08:46:26PM +0100, Marco Moock wrote:
> Am 17.03.2024 um 16:54:27 Uhr schrieb David:
>
> > Can anybody suggest how to get the networking running?
>
> You have to tell us what doesn't work in your network.
>
> Also show the output of
> ip a
> cat /etc/resolv.conf
I have a
Am 17.03.2024 um 16:54:27 Uhr schrieb David:
> Can anybody suggest how to get the networking running?
You have to tell us what doesn't work in your network.
Also show the output of
ip a
cat /etc/resolv.conf
--
Gruß
Marco
Send spam to 1710690867mu...@cartoonies.org
On Sun, Mar 17, 2024 at 04:54:27PM +, David wrote:
> I am running Bookworm on a thin client and Network-Manger seems to be
> the source of my problems.
>
> I have purged Network-Manager from this thin client, but I can't find
> out how to get /etc/network/interface to run. I have added to 2 NI
On Sun, 17 Mar 2024 16:54:27 +
David wrote:
> I am running Bookworm on a thin client and Network-Manger seems to be
> the source of my problems.
>
> I have purged Network-Manager from this thin client, but I can't find
> out how to get /etc/network/interface to run. I have added to 2 NIC's
>
On Sun, Mar 17, 2024 at 01:31:40PM -0400, Roy J. Tellason, Sr. wrote:
> On Sunday 17 March 2024 08:48:29 am Greg Wooledge wrote:
> > On Sun, Mar 17, 2024 at 12:35:33PM +0100, Miguel A. Vallejo wrote:
> > > Well... it seems my brain can't distinguish Bookworm from Bullseye.
> >
> > It's not just yo
On Sonntag, 17. März 2024 13:54:27 -03 David wrote:
> I am running Bookworm on a thin client and Network-Manger seems to be
> the source of my problems.
>
> I have purged Network-Manager from this thin client, but I can't find
> out how to get /etc/network/interface to run. I have added to 2 NIC's
I am running Bookworm on a thin client and Network-Manger seems to be
the source of my problems.
I have purged Network-Manager from this thin client, but I can't find
out how to get /etc/network/interface to run. I have added to 2 NIC's
that I need.
Can anybody suggest how to get the networking r
On Sunday 17 March 2024 08:48:29 am Greg Wooledge wrote:
> On Sun, Mar 17, 2024 at 12:35:33PM +0100, Miguel A. Vallejo wrote:
> > Well... it seems my brain can't distinguish Bookworm from Bullseye.
>
> It's not just you. The use of three "b" names in a row (buster,
> bullseye, bookworm) was in my
On Sun, 17 Mar 2024, Greg Wooledge wrote:
On Sun, Mar 17, 2024 at 09:25:10AM +, Tim Woodall wrote:
In almost all other cases, the space separated items cannot, even in
theory, contain a rogue space, so suppressing the warning is fine
Famous Last Words™.
As one example, it calls out to a
On Sun, Mar 17, 2024 at 10:57:43AM -0500, Nate Bargmann wrote:
> What errors do you get if you use sh instead of bash?
He's not getting any errors. His script actually works for his current
inputs. He was just getting warnings from shellcheck, which is an
external script validation tool.
One of
On 17/03/2024 16:25, Tim Woodall wrote:
args() { echo a b c d; }
count() { echo $#; }
count $(args)
args() { printf '%s\0' a b c d; }
args | xargs -0 sh -c 'count() { echo $#; }; count "$@"' sh-count
It would be easier in the case of script file instead of shell function.
An assumption is tha
Hi Tim.
What errors do you get if you use sh instead of bash? On Debian systems
sh should be a symbolic link to dash. On Debian dash is preferred for
system shell scripts (perhaps even required now) and I use it for my
personal scripts unless there is some need to use bash instead. I still
use
On 2024-03-17 at 08:48, Greg Wooledge wrote:
> On Sun, Mar 17, 2024 at 12:35:33PM +0100, Miguel A. Vallejo wrote:
>
>> Well... it seems my brain can't distinguish Bookworm from
>> Bullseye.
>
> It's not just you. The use of three "b" names in a row (buster,
> bullseye, bookworm) was in my opini
On Sun, Mar 17, 2024 at 12:35:33PM +0100, Miguel A. Vallejo wrote:
> Well... it seems my brain can't distinguish Bookworm from Bullseye.
It's not just you. The use of three "b" names in a row (buster,
bullseye, bookworm) was in my opinion a poor decision. I've taken
to calling the releases by th
On Sun, Mar 17, 2024 at 09:25:10AM +, Tim Woodall wrote:
> I have this one-liner (which works but shellcheck doesn't like the
> quoting)
>
> idxsrc="$( newest_file $( APT_CONFIG=${APT_CONFIG} apt-get indextargets
> --format '$(FILENAME)' 'Identifier: Packages' ))"
>
> SC2016: Expressions don
On Sun, 17 Mar 2024, Geert Stappers wrote:
On Sun, Mar 17, 2024 at 09:25:10AM +, Tim Woodall wrote:
Hi,
I've been cleaning up some bash scripts
Good
and, where possible, addressing things reported by shellcheck.
Oh, shellcheck, https://www.shellcheck.net/
I have this one-liner (
Well... it seems my brain can't distinguish Bookworm from Bullseye.
Virtualbox is now installed from Fasttrack repository and is working fine.
Sorry for the inconveniences
On Sun, Mar 17, 2024 at 09:25:10AM +, Tim Woodall wrote:
> Hi,
>
> I've been cleaning up some bash scripts
Good
> and, where possible, addressing things reported by shellcheck.
Oh, shellcheck, https://www.shellcheck.net/
> I have this one-liner (which works but shellcheck doesn't like
On Sun, Mar 17, 2024 at 09:25:10AM +, Tim Woodall wrote:
> Hi,
[...]
> Is there a one-liner way to make shellcheck happy on the count line
> below (other than # shellcheck disable=SC2046)?
>
> args() { echo a b c d; }
> count() { echo $#; }
> count $(args)
>
> Obviously, any correct solutio
Hi,
I've been cleaning up some bash scripts and, where possible, addressing
things reported by shellcheck.
I have this one-liner (which works but shellcheck doesn't like the
quoting)
idxsrc="$( newest_file $( APT_CONFIG=${APT_CONFIG} apt-get indextargets --format
'$(FILENAME)' 'Identifier: Pac
27 matches
Mail list logo