similar to: bash test ?

Displaying 20 results from an estimated 10000 matches similar to: "bash test ?"

2023 Apr 19
2
bash test ?
On 19/04/2023 08:04, wwp wrote: > Hello lejeczek, > > > On Wed, 19 Apr 2023 07:50:29 +0200 lejeczek via CentOS <centos at centos.org> wrote: > >> Hi guys. >> >> I cannot wrap my hear around this: >> >> -> $ unset _Val; test -z ${_Val}; echo $? >> 0 >> -> $ unset _Val; test -n ${_Val}; echo $? >> 0 >> -> $
2018 Dec 14
4
Firewalld and iptables
On Fri, Dec 14, 2018 at 03:14:12PM -0700, Warren Young wrote: > On Dec 14, 2018, at 2:30 PM, Jon LaBadie <jcu at labadie.us> wrote: > > > > After a recent large update, firewalld's status contains > > many lines of the form: > > > > WARNING: COMMAND_FAILED: '/usr/sbin/iptables? > > What?s the rest of the command? Well, there are about 20 of
2018 Dec 15
2
Firewalld and iptables
On Fri, Dec 14, 2018 at 04:55:33PM -0800, Kenneth Porter wrote: > --On Friday, December 14, 2018 5:57 PM -0500 Jon LaBadie <jcu at labadie.us> > wrote: > > > Well, there are about 20 of them and several screen widths > > long. However they all end with one of two reasons: > > > > : No chain/target/match by that name. > > : Bad rule (does a
2020 Jun 09
3
Postfix restrictions
On Sun, Jun 07, 2020 at 05:53:28AM -0700, John Pierce wrote: > On Sun, Jun 7, 2020, 2:47 AM Nicolas Kovacs <info at microlinux.fr> wrote: > > > .... > > My aim is simply to eliminate as much spam as possible (that is, before > > adding > > SpamAssassin) while keeping false positives to a minimum. > > > > The one thing that stopped the most spam on
2018 Dec 14
3
Firewalld and iptables
After a recent large update, firewalld's status contains many lines of the form: WARNING: COMMAND_FAILED: '/usr/sbin/iptables... Checking iptables.service status shows it to be masked. I realize that firewalld uses iptables, but should it be enabled and started as a service? Jon -- Jon H. LaBadie jcu at labadie.us 11226 South Shore Rd. (703) 787-0688 (H)
2019 Sep 28
4
C8 install libreoffice
On 28.09.19 00:39, Ulf Volmer wrote: > On 28.09.19 00:07, Jerry Geis wrote: >> How do you install libreoffice. yum install libreoffice did not do it, >> doing a search on "centos 8 install libreoffice" did not provide anything. > > There is no single package libreoffice in CentOS 8. Instead there are > several packages for each libreoffice component like
2020 Jun 21
6
firewall questions
I'm running Centos 7.8.2003, with firewalld. I was getting huge numbers of ssh attempts per day from a few specific ip blocks. The offenders are 45.0.0.0/24, 49.0.0.0/24, 51.0.0.0/24, 111.0.0.0/24 and 118.0.0.0/24, and they amounted to a multiple thousands of attempts per day. I installed and configured fail2ban, but still saw a lot of attempts in the logs, and the ipset created was
2020 Nov 11
4
crontab query
I need to schedule a process/program every hour on the hour between 9am and 4pm on the 2nd through the 9th of each month except on Saturday and Sunday.? So, I tried this entry: 0 9-16 2-9 * 1-5 ./myprog.sh Unfortunately it runs outside of the 2nd through the 9th and still runs on Sat. through Sun. Is there a way to do this (outside the program itself)? -Frank
2017 Feb 22
2
how to resize a partition of a disk define as a physical volume
I should have added the output of pvs: [root ~]# pvs PV VG Fmt Attr PSize PFree /dev/xvda2 cl_vm731611 lvm2 a-- 9.00g 0 PFree still show 0. It should show 5g. Also: [root ~]# pvdisplay /dev/xvda2 --- Physical volume --- PV Name /dev/xvda2 VG Name cl_vm731611 PV Size 9.00 GiB / not usable 2.00 MiB Allocatable
2016 Apr 29
2
Semi-OT: awk
This is odd, and annoying. CentOS 6, current. Here's my awk script: { room = substr($0, 48, 10); arr[$2,room,$1] = $0; } END { for ( i in arr ) { for ( j in arr[i] ) { for ( k in arr[i][j] ) { print arr[i][j][k]; } } } } And when I run it, it complains awk -f awksort proplist7 awk: awksort:7: for ( j in arr[i] ) { awk: awksort:7:
2018 Aug 29
4
bash completion in C7
Hello there, while bash completion was working great to me in CentOS6, since I'm using C7 I spend my day stuck on completion not working the way it should. The bad situations I'm facing are: - it doesn't expand *foo whereas there are *foo-named files in current dir, for instance: # rm *foo will show nothing whereas there's a file barfoo in curdir. - completion takes 10
2018 Aug 29
2
bash completion in C7
Hello Gordon, On Wed, 29 Aug 2018 08:27:06 -0700 Gordon Messmer <gordon.messmer at gmail.com> wrote: > On 08/28/2018 11:33 PM, wwp wrote: > > - it doesn't expand *foo whereas there are *foo-named files in current dir, for instance: > > # rm *foo > > will show nothing whereas there's a file barfoo in curdir. > > Tab completion finishes a
2018 Aug 30
2
bash completion in C7
Hi Gordon, On Wed, 29 Aug 2018 17:59:58 -0700 Gordon Messmer <gordon.messmer at gmail.com> wrote: > On 08/29/2018 09:22 AM, wwp wrote: > > On Wed, 29 Aug 2018 08:27:06 -0700 Gordon Messmer <gordon.messmer at gmail.c > om> wrote: > >> On 08/28/2018 11:33 PM, wwp wrote: > >>> - it doesn't expand *foo whereas there are *foo-named files in
2016 Oct 03
1
mount.nfs: an incorrect mount option was specified
On 2016-10-03, Jon LaBadie <jcu at labadie.us> wrote: > IIRC, for mount.nfs, the "r" option is read only while the "w" > option is read+write. They may be mutually exclusive. I don't believe this is accurate. ro and rw are mutually exclusive, but there is no "w" option. (Which doesn't help the OP, unfortunately, but at least he knows.) For the
2017 Feb 02
3
downgrading packages
After the large update from 7.2 -> 7.3 there is one major problem, the amanda backup packages. Strange situation, the host is the amanda server is working fine at backing up all my remote clients. But it has an error backing up itself. The amanda packages did not change version (3.3.3) and I've done no configuration change. I'm not looking for help debugging this at the moment.
2019 May 22
3
Bypassing 'A stop job is running' when rebooting CentOS 7
On Wed, May 22, 2019 at 09:07:32AM -0600, James Szinger wrote: > On Wed, May 22, 2019 at 7:44 AM mark <m.roth at 5-cent.us> wrote: > > > > The joys of systemd.... > > I'm not sure it's right to blame systemd. Systemd asked nicely for > the service to shutdown. But we can blame systemd for the cryptic message A stop job is running Surely systemd knows
2017 Apr 12
1
Network Manager / CentOS 7 / local unbound
OR just make the file immutable if it's so critical to you. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Jon LaBadie" <jcu at labadie.us> > To: "CentOS mailing list" <centos at centos.org> > Sent: Wednesday, 12 April, 2017 07:16:22 > Subject: Re: [CentOS] Network Manager / CentOS 7 /
2019 May 24
4
Bash completion thrown by quoted option args?
wwp writes: > Hello isdtor, > > > On Fri, 24 May 2019 09:33:55 +0100 isdtor <isdtor at gmail.com> wrote: > > > Leroy Tennison writes: > > > I am going to take a really wild guess and say "Try replacing the outermost quotes with single quotes or escape the double quotes around the numeral 1". Your second example has double quotes within double
2016 Sep 09
2
DNF update
On Fri, 9 Sep 2016, Always Learning wrote: > > On Thu, 2016-09-08 at 23:22 +0100, J Martin Rushton wrote: > >> Under Fedora23 issuing a yum command gets you a warning, then it >> automatically runs the appropriate dnf command. > > Can you tell us the DNF for:- > > yum update > yum groupinstall > yum reinstall > yum erase DNF isn't used on CentOS.
2017 Feb 22
2
how to resize a partition of a disk define as a physical volume
Hello, I have a CentOS VM with only one disk on a Xenserver. The disk has 2 partitions: /dev/xvda1 -> /boot /dev/xvda2 -> a physical volume for LVM I added 5GB to this disk via Xencenter to extend /dev/xvda2. Usually I just have to do "pvresize /dev/xvda" to have the additional space added to the disk. But for some reason it does not work for this disk. [root ~]# pvresize