similar to: CentOS 7 bash perhaps off topic

Displaying 20 results from an estimated 10000 matches similar to: "CentOS 7 bash perhaps off topic"

2018 Sep 28
4
Simple bash question
I am calling a bash script and passing in somestring that includes a "$" myscript "$plusmore" I want to assign in the myscript the $1 arg to something like MYTEXT="$1" when I do that I dont get what I'm expecting. if I do MYTEXT='$1' I still dont get what I'm expecting. On the first assignment of MYTEXT I do not want the "$" to be
2020 Apr 02
2
CentOS 7 host with guests as bridge cannot access host
This is unfortunate. https://wiki.libvirt.org/page/TroubleshootMacvtapHostFail To the "normal" user - BRIDGE means guest is on the same network and has access to the host. Bummer. Jerry
2017 Oct 25
2
[OT] Bash help
Warren Young wrote: > On Oct 25, 2017, at 11:00 AM, Leroy Tennison <leroy at datavoiceint.com> > wrote: >> >> Although "not my question", thanks, I learned a lot about array >> processing from your example. > > Yeah, it?s amazing how many obscure corners of the Bash language must be > tapped to solve such a simple problem. I count 7 features in
2017 Oct 25
2
[OT] Bash help
Although "not my question", thanks, I learned a lot about array processing from your example. ----- Original Message ----- From: "warren" <warren at etr-usa.com> To: "centos" <centos at centos.org> Sent: Wednesday, October 25, 2017 11:47:12 AM Subject: Re: [CentOS] [OT] Bash help On Oct 25, 2017, at 10:02 AM, Mark Haney <mark.haney at neonova.net>
2020 Jun 02
7
Bridge network for virt-manager
Hello. I desire to get bridge network working using virt-manager. Centos 7 and centos 7 guest. >From researching I think I need to have a ifcfg-br0 file like this ? cat ifcfg-br0 DEVICE=nm-bridge0 STP=no TYPE=Bridge BOOTPROTO=none IPADDR=192.168.1.8 PREFIX=32 GATEWAY=192.168.1.1 IPV6INIT=no NAME=br0 ONBOOT=yes DELAY=0 Is that for sure needed ? The use that nm-bridge0 as the network name? I
2018 Dec 12
5
CentOS 7.6 external USB dmesg issue
I have a brand new 2T external Samsung SSD disk. (two of them) for backup. I tried the first one and had an issue, I tried the second one and got the same issue. Am I doing something wrong ? I find it hard to believe the SSD (both) are bad. I plugged in the USB 3.1 adapter, I fdisk /dev/sdd, n, p, default, default, w. then mkfs.ext4 -j /dev/sdd1, then just mount and rsync. [ 1085.193710]
2019 May 23
2
Bash completion thrown by quoted option args?
There was a thread about C7 bash completion back in August last year, but it doesn't have answers for this problem. Example: "yum install /path/to/local/package" works fine with tab completion to fill in the path and package bits. However, "yum --debuglevel="1" install ..." just gets stuck and doesn't offer anything. The only option is to type everything
2017 Oct 25
1
[OT] Bash help
Leroy Tennison wrote: > No kidding, but in that "other OS" the answer to the question "how can I > create that report" is usually "You can't unless you spend money for a > third-party application". > "Other", singluar? Did you mean WinDoze, or on an IBM mainframe, or...? mark "been around the block" > ----- Original
2019 Nov 14
2
how to know when a system is compromised
Once upon a time, Leroy Tennison <leroy at datavoiceint.com> said: > The executable could be placed on mounted read-only media That's not as secure as you think. Linux bind mounts can mount a file over another file (plus there's overlay filesystems), so it's possible to replace a binary even on a read-only device. -- Chris Adams <linux at cmadams.net>
2020 Jul 01
4
[OT] Bacula offsite replication
Hi Leroy, How I can confirm that during rsync transfer corruption are not encountered? Thank you in advance. Il 01/07/20 16:04, Leroy Tennison ha scritto: > I've used rsync (but probably not for the size you're referring to), it works and has enough features to meet most needs. I have had a single situation where corruption occurred during transfer (a few times, have no idea why),
2011 Jan 18
2
Surprise Thread Preemptions
Hi, I would like to know about which threads will be preempted by which on my OpenSolaris machine. Therefore, I ran a multithreaded program "myprogram" with 32 threads on my 24-core Solaris machine. I make sure that each thread of my program has same priority (priority zero), so that we can reduce priority inversions (saving preemptions -- system overhead). However, I ran the following
2019 Oct 12
1
easy way to stop old ssl's
Without context it's impossible to make firm statements but, having gone through this a while back (and discovering that less than 1 percent of an examined list of connections couldn't support current ssl - mainly Apple hardware), who do you want to protect? Is it the minority who won't/can't upgrade or the majority who have? And, do you have to protect yourself from liability
2020 Jul 08
6
USB-serial adapter for CentOS 7
I need to connect an older APS UPS unit to a machine running CentOS 7. Unfortunately the UPS only has a serial port whereas the computer does not. I am aware that there are USB-serial adapters but that the hardware or the drivers might fall short of expectations. Does anyone have positive experience with such an adapter? Or, conversely, would recommend avoid a particular adapter?
2020 Jul 01
2
[OT] Bacula offsite replication
Hi everyone, I have updated my backup server to CentOS 8.2. It runs bacula performing backup on disks. I would like to replicate backups on another offsite machine. I read about the ability to configure a new storage daemon in the offsite location and create a Migration/Copy Jobs. If I'm not wrong, it replicates only volumes but not replicate the catalog. I will try this. Another way to
2019 Nov 04
3
Limit user password by time
Is it possible with "chage" to configure a password caducity for, at most, 2 hours? I think "chage" only allows caducity for, at least, one day.
2020 Jul 08
3
USB-serial adapter for CentOS 7
On 2020-07-08 10:23, Leroy Tennison wrote: > I've used one on a Linux laptop, it "just worked" but the OS wasn't CentOS 7. > It is not clear if you used USB from APC UPS to USB port on the machine side or USB - to - "serial". USB to USB with standard USB cable will work. If one uses serial to USB adapter on the machine side (to create serial port through USB
2009 Aug 08
1
How to pass flags (arguments) to an application
Hi everyone. I have a problem running a Windows appilcation with wine. The application is a Acucobol program. When I run "wine wrun32.exe myprogram" it works ok. When I run "wine wrun32.exe -C config.cfg myprogram" wine says myprogram doesn't exist. Any help? -- Marcelo Arroyo
2020 Mar 25
4
Need help to fix bug in rsync
> On Wed, 2020-03-25 at 14:39 +0000, Leroy Tennison wrote: >> Since you state that using -z is almost always a bad idea, could you >> provide the rationale for that? I must be missing something. >> > I think the "rationale" is that at some point the > compression/decompression takes longer than the time reduction from > sending a compressed file. It
2018 Nov 27
2
Tools/mechanisms for the management of access permissions in big filebased datasets
Hello, we are currently managing access permissions through classical user-group-others permissions on a multi-petabyte directory tree with partially very deep and broad directories. Projects are represented by directory trees and mapped through GIDs. Lately we had lots of "singular" permission request (one single user needs access to a single dataset but should not be able to
2003 Jan 08
3
Errors running R in Batch mode under Win2000
I have made many different attempts to run a R program in Batch mode. I run a DOS command like: C:\Progra~1\R\rw1061\bin\rterm.exe -q --no-restore --no-save myprogram.R out.txt What happens: 1. DOS Shell starts up well 2. R starts 3. I get the messages: "ARGUMENT 'myprogram.R' __ignored__" "ARGUMENT 'out.txt' __ignored__" 4. R Shell is ready to