Re: [CentOS] [OT] Bash help

2017-10-27 Thread Proxy
This thread started as "I'm not sure if this is offtopic" and it ended as such a great and fun to read discussion. Thank you all for these great script examples. I really enjoyed reading it. On 2017-Oct-25 17:10, m.r...@5-cent.us wrote: > Tony Mountifield wrote: > > In article > > , > > wrote:

Re: [CentOS] [OT] Bash help

2017-10-27 Thread Warren Young
On Oct 26, 2017, at 10:37 AM, Gordon Messmer wrote: > > On Wed, Oct 25, 2017 at 9:47 AM, Warren Young wrote: >> >> CentOS 5 is definitely out, as that ships Bash 3, which lacks this feature. > > Nonsense. Every POSIX shell has an associative array called "the filesystem.” Ah, *there’s* our m

Re: [CentOS] [OT] Bash help

2017-10-27 Thread Walter H.
On 25.10.2017 18:47, Warren Young wrote: You’re making things hard on yourself by insisting on Bash, by the way. This solution is better expressed in Perl, Python, Ruby, Lua, JavaScript…probably dozens of languages. or just awk ... ___ CentOS maili

[CentOS] CentOS-announce Digest, Vol 152, Issue 11

2017-10-27 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ.

[CentOS] C7, docker, logging

2017-10-27 Thread m . roth
Hi, folks, Well my user had errors, so I got to restart the docker daemon with --log-level=warn. And it still dumps many of what appears to be a start of a thread Oct 27 01:08:32 nice docker/38c522448368[13725]: 4 8 r_TtAr r_TtBMD r_CtBMD r_CtTh r_TbBMD r_TbN r_TbTh r_CtBATA t_TtAr

[CentOS] home on nfs

2017-10-27 Thread hw
Hi, I have the home directory of a user on an nfs server and mount it on a client. When the user logs in, they end up in the root directory rather than in their actual home directory and need to cd into it. The user can read and write to their home directory, so it kinda works fine --- but only

Re: [CentOS] home on nfs

2017-10-27 Thread John Hodrien
On Fri, 27 Oct 2017, hw wrote: Hi, I have the home directory of a user on an nfs server and mount it on a client. When the user logs in, they end up in the root directory rather than in their actual home directory and need to cd into it. The user can read and write to their home directory, so

Re: [CentOS] home on nfs

2017-10-27 Thread m . roth
hw wrote: > Hi, > > I have the home directory of a user on an nfs server and mount it on a > client. When the user logs in, they end up in the root directory rather > than in their actual home directory and need to cd into it. > > The user can read and write to their home directory, so it kinda wo

Re: [CentOS] home on nfs

2017-10-27 Thread Louis Lagendijk
On Fri, 2017-10-27 at 16:21 +0200, hw wrote: > Hi, > > I have the home directory of a user on an nfs server and mount it on > a > client. When the user logs in, they end up in the root directory > rather > than in their actual home directory and need to cd into it. > > The user can read and writ

Re: [CentOS] home on nfs

2017-10-27 Thread Cameron Smith
There are seven fields on each line in a typical Linux "/etc/passwd" file. For a line that looks like this: root:x:0:0:root:/root:/bin/bash 1. root: Account username. 2. x: Placeholder for password information. The password is obtained from the "/etc/shadow" file. 3. 0: User ID. Each user has a u

[CentOS] systemd - service restart another service... (how?)

2017-10-27 Thread lejeczek
... but only upon its own start/restart hi everyone would you know a trick? PartOf= does the whole lot, stops when stopped, so no. Here I need only re/start, everything else is ignored. many thanks, L. ___ CentOS mailing list CentOS@centos.org https:/

[CentOS] What free memory range is safe to operate?

2017-10-27 Thread marcos valentine
Hello, Hello, There's a official documentation telling which is the percent of free memory is indicated to operate?A limit to Avoiding crashing, slow performance, and memory warnings. What are the thresholds?

Re: [CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7

2017-10-27 Thread Abhinay Khanna
Hi Guys, Thanks for helping out with things. I appreciate your help The issue is resolved. Get Outlook for Android From: CentOS on behalf of Chris Beattie Sent: Tuesday, October 24, 2017 8:16:00 PM To: CentOS mailing list Subject: Re: [

Re: [CentOS] kmod-jfs on Centos 6

2017-10-27 Thread H
On 10/26/2017 08:37 PM, Akemi Yagi wrote: > On Thu, Oct 26, 2017 at 5:22 PM, H wrote: > >> On 10/26/2017 08:01 PM, Akemi Yagi wrote: >>> On Thu, Oct 26, 2017 at 4:17 PM, H wrote: >>> On October 26, 2017 6:31:04 PM EDT, Akemi Yagi >> wrote: > On Thu, Oct 26, 2017 at 3:11 PM, H wrote: >>

[CentOS] Comparing directories recursively

2017-10-27 Thread H
What is the best tool to compare file hashes in two different drives/directories such as after copying a large number of files from one drive to another? I used cp -au to copy directories, not rsync, since it is between local disks. I found a mention of hashdeep on the 'net which means first ru

[CentOS] How to encourage maintainers to update their software

2017-10-27 Thread H
How do I best encourage maintainers to update the software they are responsible for in various repositories? Akema Yagi made sure kmod-jfs for CentOS 7 was updated amazingly fast which is greatly appreciated. On the other hand, I have requested updates of some other software packages and have h

Re: [CentOS] Comparing directories recursively

2017-10-27 Thread Frank Cox
On Fri, 27 Oct 2017 17:27:22 -0400 H wrote: > What is the best tool to compare file hashes in two different > drives/directories such as after copying a large number of files from one > drive to another? I used cp -au to copy directories, not rsync, since it is > between local disks. diff --brief

Re: [CentOS] Comparing directories recursively

2017-10-27 Thread H
On 10/27/2017 05:35 PM, Frank Cox wrote: > On Fri, 27 Oct 2017 17:27:22 -0400 > H wrote: > >> What is the best tool to compare file hashes in two different >> drives/directories such as after copying a large number of files from one >> drive to another? I used cp -au to copy directories, not rsync,

Re: [CentOS] How to encourage maintainers to update their software

2017-10-27 Thread Frank Cox
On Fri, 27 Oct 2017 17:32:03 -0400 H wrote: > How do I best encourage maintainers to update the software they are > responsible for in various repositories? If it's something that you need or want and it's not available in a repo that you currently use you can compile it yourself. I do that wit

Re: [CentOS] Comparing directories recursively

2017-10-27 Thread Frank Cox
On Fri, 27 Oct 2017 17:51:46 -0400 H wrote: > But is diff not best suited for text files? The standard unix diff will show if the files are the same or not: $diff 1.bin 2.bin Binary files 1.bin and 2.bin differ If there is no output from the command, it means that the files have no differences

Re: [CentOS] Comparing directories recursively

2017-10-27 Thread Leon Fauster
> Am 27.10.2017 um 23:27 schrieb H : > > What is the best tool to compare file hashes in two different > drives/directories such as after copying a large number of files from one > drive to another? I used cp -au to copy directories, not rsync, since it is > between local disks. > > I found a

Re: [CentOS] What free memory range is safe to operate?

2017-10-27 Thread Steven Tardy
> On Oct 27, 2017, at 11:39 AM, marcos valentine wrote: > > percent of free memory is indicated to operate? Free memory as in unused or free memory as in available (unused + disk buffers)? Google: Linux ate my RAM Output of `free` from your system may provide some context. Now-a-days as long

Re: [CentOS] Comparing directories recursively

2017-10-27 Thread Frank Cox
On Sat, 28 Oct 2017 00:47:32 +0200 Leon Fauster wrote: > source: > > find . -type f -exec md5sum \{\} \; > checksum.list > > destination: > > md5sum -c checksum.list Wouldn't diff be faster because it doesn't have to read to the end of every file and it isn't really calculating anything? Or

[CentOS] Configure an Out Of Office Reply with Postfix?

2017-10-27 Thread Nicolas Kovacs
Hi, I'm running a Postfix mail server on CentOS 7 for our local school. Some users would like to have an out of office reply for the holiday season. I see there is a little utility called 'vacation', and I wonder if this is the right tool for the job. Any recommendations? Niki -- Microlinux - S