From kellywilliams81 at gmail.com Mon Oct 12 15:19:37 2015 From: kellywilliams81 at gmail.com (Kelly Williams) Date: Mon, 12 Oct 2015 15:19:37 -0500 Subject: [tclug-list] Lenovo Thinkpad Message-ID: I got a lenovo that I bought from a school sale. Its a x100e, AMD Neo 1.6 cpu 2 gb ram. Runs very warm when using 14.04 and fan runs not stop at full speed. I have mate installed. Just looking for something that is up to date. Right now I have ubuntu 10.04 installed just to use it for on the go. Is there anything out there that is light weight.. Kelly -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug1 at whitleymott.net Mon Oct 12 16:00:31 2015 From: tclug1 at whitleymott.net (gregrwm) Date: Mon, 12 Oct 2015 16:00:31 -0500 Subject: [tclug-list] Lenovo Thinkpad Message-ID: > > I got a lenovo that I bought from a school sale. Its a x100e, AMD Neo 1.6 > cpu 2 gb ram. Runs very warm when using 14.04 and fan runs not stop at full > speed. I have mate installed. Just looking for something that is up to > date. Right now I have ubuntu 10.04 installed just to use it for on the go. > Is there anything out there that is light weight.. > lubuntu (trusty for LTS, or vivid or wily for devel releases) will give you a light weight desktop. of course, you can still install heavyweight apps on top of it.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhubarbpieguy at gmail.com Sat Oct 17 09:52:44 2015 From: rhubarbpieguy at gmail.com (rhubarbpieguy at gmail.com) Date: Sat, 17 Oct 2015 09:52:44 -0500 Subject: [tclug-list] pkill doesn't kill script by name. Message-ID: <562260BC.3040804@gmail.com> I'm unable to kill Script2Kill.sh using "pkill Script." Using jobs I see: [1]+ Running ./Script2Kill.sh & I can kill the script with "kill %1" but "pkill Script" has no effect. I've tried several combinations, but if I understand correctly, pkill and part of the name string should work. Can others use pkill successfully? From tclug at freakzilla.com Sat Oct 17 11:42:30 2015 From: tclug at freakzilla.com (Clug) Date: Sat, 17 Oct 2015 11:42:30 -0500 (CDT) Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <562260BC.3040804@gmail.com> References: <562260BC.3040804@gmail.com> Message-ID: When you run a script, the process name is usually the interpreter running the script. Since that's a .sh file I assume that'd be bash. It probably has Script2Kill.sh as the argument, not the process name. On Sat, 17 Oct 2015, rhubarbpieguy at gmail.com wrote: > > I'm unable to kill Script2Kill.sh using "pkill Script." Using jobs I see: > > [1]+ Running ./Script2Kill.sh & > > I can kill the script with "kill %1" but "pkill Script" has no effect. I've > tried several combinations, but if I understand correctly, pkill and part of > the name string should work. Can others use pkill successfully? > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From tclug1 at whitleymott.net Sat Oct 17 12:41:57 2015 From: tclug1 at whitleymott.net (gregrwm) Date: Sat, 17 Oct 2015 12:41:57 -0500 Subject: [tclug-list] pkill doesn't kill script by name. Message-ID: i never liked pkill, you don't really know how many processes it will match, and kill. pgrep will show you what processes your query matches at the moment, but still, if you then use pkill, you have to wonder if more (or fewer) matching processes will exist at that moment. a better approach is to observe what pgrep matches, see if you like the results, and if so feed those results to kill. with these definitions: >#pg uses pgrep to match some processes, saves them in $pg, and displays them with psH. >#kp then kills the saved list of processes. >#psH is how i like to show a list of processes. you could choose different args for ps. >alias psH='ps -Ho user,sess,tpgid,pgrp,ppid,pid,start,nice,wchan,stat,args --cols 999' >function pg { pg=($(pgrep -f "$@"));[[ $pg ]]&&echo ${pg[@]}&&psH ${pg[@]};} >function kp { kill "$@" ${pg[@]};} then you can: >$ pg refo #see what "refo" matches: >1829 1968 >USER SESS TPGID PGRP PPID PID STARTED NI WCHAN STAT COMMAND >g 1742 2575 1828 1 1829 11:49:11 0 poll_s Sl /usr/lib/firefox/firefox >g 1742 2575 1828 1829 1968 11:54:01 0 poll_s Sl /usr/lib/firefox/plugin-container /opt/google/talkplugin/libnpgoogletalk.so... >$ kp #see if they'll die gracefully >$ pg refo #are they gone yet? >$ kp -9 #if needed this would get 'em -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhubarbpieguy at gmail.com Mon Oct 19 05:32:14 2015 From: rhubarbpieguy at gmail.com (rhubarbpieguy at gmail.com) Date: Mon, 19 Oct 2015 05:32:14 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <562260BC.3040804@gmail.com> References: <562260BC.3040804@gmail.com> Message-ID: <5624C6AE.3080205@gmail.com> On 10/17/2015 09:52 AM, rhubarbpieguy at gmail.com wrote: > > I'm unable to kill Script2Kill.sh using "pkill Script." Using jobs I > see: > > [1]+ Running ./Script2Kill.sh & > > I can kill the script with "kill %1" but "pkill Script" has no > effect. I've tried several combinations, but if I understand > correctly, pkill and part of the name string should work. Can others > use pkill successfully? The responses correctly point to the problem. I'm interested in killing the script by name. I can get the script name with the jobs command as I run it in the background. However, I apparently can't kill a script running in the background by name; only a process by name. It's not difficult to find the script(s) by name and then kill them with a script. I hoped for some obscure command to so, but worse things have happened. From mbmiller+l at gmail.com Tue Oct 20 04:21:58 2015 From: mbmiller+l at gmail.com (Mike Miller) Date: Tue, 20 Oct 2015 04:21:58 -0500 (CDT) Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <5624C6AE.3080205@gmail.com> References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> Message-ID: On Mon, 19 Oct 2015, rhubarbpieguy at gmail.com wrote: > On 10/17/2015 09:52 AM, rhubarbpieguy at gmail.com wrote: >> >> I'm unable to kill Script2Kill.sh using "pkill Script." Using jobs I see: >> >> [1]+ Running ./Script2Kill.sh & >> >> I can kill the script with "kill %1" but "pkill Script" has no effect. >> I've tried several combinations, but if I understand correctly, pkill >> and part of the name string should work. Can others use pkill >> successfully? > > The responses correctly point to the problem. I'm interested in killing > the script by name. I can get the script name with the jobs command as > I run it in the background. However, I apparently can't kill a script > running in the background by name; only a process by name. > > It's not difficult to find the script(s) by name and then kill them with > a script. I hoped for some obscure command to so, but worse things have > happened. What am I doing differently from you? Here I make a script, execute it, then kill it using pkill, which works: $ cat > nonsensical.bash #!/bin/bash for I in {1..100} ; do echo "a" > /dev/null ; sleep 10 ; done ^D $ chmod 755 nonsensical.bash $ ./nonsensical.bash & [6] 12253 $ pkill nonsensical [6]- Terminated ./nonsensical.bash Best, Mike From rhubarbpieguy at gmail.com Tue Oct 20 07:36:54 2015 From: rhubarbpieguy at gmail.com (rhubarbpieguy at gmail.com) Date: Tue, 20 Oct 2015 07:36:54 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> Message-ID: <56263566.6030208@gmail.com> On 10/20/2015 04:21 AM, Mike Miller wrote: > On Mon, 19 Oct 2015, rhubarbpieguy at gmail.com wrote: > >> On 10/17/2015 09:52 AM, rhubarbpieguy at gmail.com wrote: >>> >>> I'm unable to kill Script2Kill.sh using "pkill Script." Using jobs >>> I see: >>> >>> [1]+ Running ./Script2Kill.sh & >>> >>> I can kill the script with "kill %1" but "pkill Script" has no >>> effect. I've tried several combinations, but if I understand >>> correctly, pkill and part of the name string should work. Can >>> others use pkill successfully? >> >> The responses correctly point to the problem. I'm interested in >> killing the script by name. I can get the script name with the jobs >> command as I run it in the background. However, I apparently can't >> kill a script running in the background by name; only a process by name. >> >> It's not difficult to find the script(s) by name and then kill them >> with a script. I hoped for some obscure command to so, but worse >> things have happened. > > > What am I doing differently from you? Here I make a script, execute > it, then kill it using pkill, which works: > > > $ cat > nonsensical.bash > #!/bin/bash > > for I in {1..100} ; do echo "a" > /dev/null ; sleep 10 ; done > ^D > > $ chmod 755 nonsensical.bash > > $ ./nonsensical.bash & > [6] 12253 > > $ pkill nonsensical > [6]- Terminated ./nonsensical.bash > > > Best, > Mike > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > Golly, I don't know. Your script is a good test but pkill doesn't kill it on my box. Man lists pkill as able to kill a process base on name. As I understand, the process isn't nonsensical.bash, it's sleep 10. Can others duplicate your result? I'm curious, does "pgrep nonsensical" find the running script on your box? It doesn't on mine, and shouldn't as I understand for the same logic as above. From twakefield at stcloudstate.edu Tue Oct 20 09:15:08 2015 From: twakefield at stcloudstate.edu (Wakefield, Thad M.) Date: Tue, 20 Oct 2015 14:15:08 +0000 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <56263566.6030208@gmail.com> References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> ,<56263566.6030208@gmail.com> Message-ID: Does "pgrep -lf Script2Kill.sh" find it? ________________________________________ From: tclug-list-bounces at mn-linux.org [tclug-list-bounces at mn-linux.org] on behalf of rhubarbpieguy at gmail.com [rhubarbpieguy at gmail.com] Sent: Tuesday, October 20, 2015 7:36 AM To: TCLUG Mailing List Subject: Re: [tclug-list] pkill doesn't kill script by name. On 10/20/2015 04:21 AM, Mike Miller wrote: > On Mon, 19 Oct 2015, rhubarbpieguy at gmail.com wrote: > >> On 10/17/2015 09:52 AM, rhubarbpieguy at gmail.com wrote: >>> >>> I'm unable to kill Script2Kill.sh using "pkill Script." Using jobs >>> I see: >>> >>> [1]+ Running ./Script2Kill.sh & >>> >>> I can kill the script with "kill %1" but "pkill Script" has no >>> effect. I've tried several combinations, but if I understand >>> correctly, pkill and part of the name string should work. Can >>> others use pkill successfully? >> >> The responses correctly point to the problem. I'm interested in >> killing the script by name. I can get the script name with the jobs >> command as I run it in the background. However, I apparently can't >> kill a script running in the background by name; only a process by name. >> >> It's not difficult to find the script(s) by name and then kill them >> with a script. I hoped for some obscure command to so, but worse >> things have happened. > > > What am I doing differently from you? Here I make a script, execute > it, then kill it using pkill, which works: > > > $ cat > nonsensical.bash > #!/bin/bash > > for I in {1..100} ; do echo "a" > /dev/null ; sleep 10 ; done > ^D > > $ chmod 755 nonsensical.bash > > $ ./nonsensical.bash & > [6] 12253 > > $ pkill nonsensical > [6]- Terminated ./nonsensical.bash > > > Best, > Mike > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > Golly, I don't know. Your script is a good test but pkill doesn't kill it on my box. Man lists pkill as able to kill a process base on name. As I understand, the process isn't nonsensical.bash, it's sleep 10. Can others duplicate your result? I'm curious, does "pgrep nonsensical" find the running script on your box? It doesn't on mine, and shouldn't as I understand for the same logic as above. _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org http://mailman.mn-linux.org/mailman/listinfo/tclug-list From rhubarbpieguy at gmail.com Tue Oct 20 17:00:40 2015 From: rhubarbpieguy at gmail.com (rhubarbpieguy at gmail.com) Date: Tue, 20 Oct 2015 17:00:40 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> <56263566.6030208@gmail.com> Message-ID: <5626B988.9000702@gmail.com> On 10/20/2015 09:15 AM, Wakefield, Thad M. wrote: > Does "pgrep -lf Script2Kill.sh" find it? > > I'm afraid not. Pgrep doesn't find jobs. From stevetrapp at comcast.net Tue Oct 20 18:05:05 2015 From: stevetrapp at comcast.net (Steve Trapp) Date: Tue, 20 Oct 2015 18:05:05 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <5626B988.9000702@gmail.com> References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> <56263566.6030208@gmail.com> <5626B988.9000702@gmail.com> Message-ID: <20151020230505.GA4573@falcon.cavelan.local> I'm a user of *killall*. Of course it is for killing *ALL* processes by name. Does killall work?! On Tue, Oct 20, 2015 at 05:00:40PM -0500, rhubarbpieguy at gmail.com wrote: > On 10/20/2015 09:15 AM, Wakefield, Thad M. wrote: > >Does "pgrep -lf Script2Kill.sh" find it? > > > > > > I'm afraid not. Pgrep doesn't find jobs. > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Name/Location: Steve Trapp/Upper Midwest of the U.S.A. About Next Line: Replace (AT) and (DOT) with, well, you know what characters! Email address: stevetrapp(AT)comcast(DOT)net Homepage: comcast DROPPED ALL HOMEPAGES--Where do I put my PGP public key now? From rhubarbpieguy at gmail.com Wed Oct 21 07:32:04 2015 From: rhubarbpieguy at gmail.com (rhubarbpieguy at gmail.com) Date: Wed, 21 Oct 2015 07:32:04 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <20151020230505.GA4573@falcon.cavelan.local> References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> <56263566.6030208@gmail.com> <5626B988.9000702@gmail.com> <20151020230505.GA4573@falcon.cavelan.local> Message-ID: <562785C4.2080308@gmail.com> On 10/20/2015 06:05 PM, Steve Trapp wrote: > I'm a user of *killall*. Of course it is for killing *ALL* processes by name. > Does killall work?! > > No, but it gives a different response. Killall responds with "no process found." Kill yields "arguments must be process or job IDs." But I'm curious. No one responded whether the following post works for them. $ cat > nonsensical.bash #!/bin/bash for I in {1..100} ; do echo "a" > /dev/null ; sleep 10 ; done ^D $ chmod 755 nonsensical.bash $ ./nonsensical.bash & [6] 12253 $ pkill nonsensical [6]- Terminated ./nonsensical.bash From stevetrapp at comcast.net Wed Oct 21 11:18:26 2015 From: stevetrapp at comcast.net (Steve Trapp) Date: Wed, 21 Oct 2015 11:18:26 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <562785C4.2080308@gmail.com> References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> <56263566.6030208@gmail.com> <5626B988.9000702@gmail.com> <20151020230505.GA4573@falcon.cavelan.local> <562785C4.2080308@gmail.com> Message-ID: <20151021161826.GA8321@falcon.cavelan.local> > But I'm curious. No one responded whether the following post works > for them. > > $ cat > nonsensical.bash > #!/bin/bash > > for I in {1..100} ; do echo "a" > /dev/null ; sleep 10 ; done > ^D > > $ chmod 755 nonsensical.bash > > $ ./nonsensical.bash & > [6] 12253 > > $ pkill nonsensical > [6]- Terminated ./nonsensical.bash > _______________________________________________ It WORKS for me! -- Name, Location: Steve Trapp, East of the Mississippi River. About Next Line: Replace (AT) and (DOT) with, well, you know what characters! Email address: stevetrapp(AT)comcast(DOT)net Homepage: comcast DROPPED ALL HOMEPAGES--Where do I put my PGP public key now? From rhubarbpieguy at gmail.com Wed Oct 21 14:14:23 2015 From: rhubarbpieguy at gmail.com (rhubarbpieguy at gmail.com) Date: Wed, 21 Oct 2015 14:14:23 -0500 Subject: [tclug-list] pkill doesn't kill script by name. In-Reply-To: <20151021161826.GA8321@falcon.cavelan.local> References: <562260BC.3040804@gmail.com> <5624C6AE.3080205@gmail.com> <56263566.6030208@gmail.com> <5626B988.9000702@gmail.com> <20151020230505.GA4573@falcon.cavelan.local> <562785C4.2080308@gmail.com> <20151021161826.GA8321@falcon.cavelan.local> Message-ID: <5627E40F.5080403@gmail.com> On 10/21/2015 11:18 AM, Steve Trapp wrote: >> But I'm curious. No one responded whether the following post works >> for them. >> >> $ cat > nonsensical.bash >> #!/bin/bash >> >> for I in {1..100} ; do echo "a" > /dev/null ; sleep 10 ; done >> ^D >> >> $ chmod 755 nonsensical.bash >> >> $ ./nonsensical.bash & >> [6] 12253 >> >> $ pkill nonsensical >> [6]- Terminated ./nonsensical.bash >> _______________________________________________ > It WORKS for me! > Thank you, but let me pose another question. Is there anyone for whom the above does NOT work. Perhaps the problem is unique to my distribution. From ryan.coleman at cwis.biz Thu Oct 22 09:09:27 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu, 22 Oct 2015 09:09:27 -0500 Subject: [tclug-list] Looping through subfolders... bash? Message-ID: I have my spam-learning script which runs against all the folders that meet a criteria? however the parent directories share the same style? So what I have is? /var/mail/vhosts/domain.ltd/first.lastname/.folders{?} The scan I have search for .Spam.New and .Spam.Suspected and runs those? but I would like to scan through the entire structure and grab each first.lastname folder (it would be the *2nd* level of my scan as I have a half-dozen domains and will add more soon)? That point behind it is I can scan specific folders as SPAM and any other folders (other than Inbox, Sent and Trash) as HAM. So here?s my folder for this specific email address (cwis.biz): drwxrws--- 5 vmail spamd 4096 Oct 22 09:07 .Drafts -rwxrwx--- 1 vmail spamd 0 Jan 21 2015 maildirfolder drwxrws--- 5 vmail spamd 4096 Mar 19 2015 .Mailing Lists drwxrws--- 5 vmail spamd 4096 Oct 22 05:49 .Mailing Lists.MySQL drwxrws--- 5 vmail spamd 4096 Oct 15 16:44 .Mailing Lists.Nextdoor drwxrws--- 5 vmail spamd 4096 Oct 17 09:38 .Mailing Lists.PFSense drwxrws--- 5 vmail spamd 4096 Oct 22 07:38 .Mailing Lists.spamassassin drwxrws--- 5 vmail spamd 4096 Oct 21 14:25 .Mailing Lists.TCLUG drwxrws--- 5 vmail spamd 4096 Oct 21 12:59 .Mailing Lists.TCPHP drwxrws--- 2 vmail spamd 16384 Oct 22 09:06 new drwxrws--- 5 vmail spamd 4096 Jan 21 2015 .Notes drwxrws--- 5 vmail spamd 4096 Oct 21 22:34 .Sent Messages drwxrws--- 3 vmail spamd 4096 Oct 15 17:02 sieve drwxrws--- 5 vmail spamd 4096 Oct 22 07:19 .Spam.New drwxrws--- 5 vmail spamd 4096 Oct 22 07:25 .Spam.Scanned drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Suspected drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Tagged -rwxrwx--- 1 vmail spamd 282 Oct 15 16:43 subscriptions drwxrws--- 2 vmail spamd 4096 Oct 22 09:06 tmp drwxrws--- 5 vmail spamd 4096 Oct 22 01:25 .Trash Basically I want to get any folder that starts with ?." inside of /var/mail/vhosts/cwis.biz/ryan.coleman/ And then run the following commands: /usr/bin/find /var/mail/vhosts/ -name '*.Spam.New*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; /usr/bin/find /var/mail/vhosts/ -name '*.Spam.Suspected*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/cur/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/new/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ My regex-foo is not very good. I know there?s a way to do that with find(1) but I wouldn?t be able to wrap my head around it anyway. TIA! ? Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.coleman at cwis.biz Thu Oct 22 09:29:24 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu, 22 Oct 2015 09:29:24 -0500 Subject: [tclug-list] Looping through subfolders... bash? In-Reply-To: References: Message-ID: <03639645-88B0-408D-8442-182036FD91EB@cwis.biz> Cuz I?m smart like that? find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$? Finds just what I need? what a rPITA. ? Ryan > On Oct 22, 2015, at 9:09 AM, Ryan Coleman wrote: > > I have my spam-learning script which runs against all the folders that meet a criteria? however the parent directories share the same style? > > So what I have is? > > /var/mail/vhosts/domain.ltd/first.lastname/.folders{?} > > The scan I have search for .Spam.New and .Spam.Suspected and runs those? > > but I would like to scan through the entire structure and grab each first.lastname folder (it would be the *2nd* level of my scan as I have a half-dozen domains and will add more soon)? > > That point behind it is I can scan specific folders as SPAM and any other folders (other than Inbox, Sent and Trash) as HAM. > > So here?s my folder for this specific email address (cwis.biz ): > drwxrws--- 5 vmail spamd 4096 Oct 22 09:07 .Drafts > -rwxrwx--- 1 vmail spamd 0 Jan 21 2015 maildirfolder > drwxrws--- 5 vmail spamd 4096 Mar 19 2015 .Mailing Lists > drwxrws--- 5 vmail spamd 4096 Oct 22 05:49 .Mailing Lists.MySQL > drwxrws--- 5 vmail spamd 4096 Oct 15 16:44 .Mailing Lists.Nextdoor > drwxrws--- 5 vmail spamd 4096 Oct 17 09:38 .Mailing Lists.PFSense > drwxrws--- 5 vmail spamd 4096 Oct 22 07:38 .Mailing Lists.spamassassin > drwxrws--- 5 vmail spamd 4096 Oct 21 14:25 .Mailing Lists.TCLUG > drwxrws--- 5 vmail spamd 4096 Oct 21 12:59 .Mailing Lists.TCPHP > drwxrws--- 2 vmail spamd 16384 Oct 22 09:06 new > drwxrws--- 5 vmail spamd 4096 Jan 21 2015 .Notes > drwxrws--- 5 vmail spamd 4096 Oct 21 22:34 .Sent Messages > drwxrws--- 3 vmail spamd 4096 Oct 15 17:02 sieve > drwxrws--- 5 vmail spamd 4096 Oct 22 07:19 .Spam.New > drwxrws--- 5 vmail spamd 4096 Oct 22 07:25 .Spam.Scanned > drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Suspected > drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Tagged > -rwxrwx--- 1 vmail spamd 282 Oct 15 16:43 subscriptions > drwxrws--- 2 vmail spamd 4096 Oct 22 09:06 tmp > drwxrws--- 5 vmail spamd 4096 Oct 22 01:25 .Trash > > Basically I want to get any folder that starts with ?." inside of /var/mail/vhosts/cwis.biz/ryan.coleman/ > > And then run the following commands: > > /usr/bin/find /var/mail/vhosts/ -name '*.Spam.New*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; > /usr/bin/find /var/mail/vhosts/ -name '*.Spam.Suspected*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; > /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/cur/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ > /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/new/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ > > My regex-foo is not very good. I know there?s a way to do that with find(1) but I wouldn?t be able to wrap my head around it anyway. > > TIA! > > ? > Ryan > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.coleman at cwis.biz Thu Oct 22 10:13:28 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu, 22 Oct 2015 10:13:28 -0500 Subject: [tclug-list] Looping through subfolders... bash? In-Reply-To: <03639645-88B0-408D-8442-182036FD91EB@cwis.biz> References: <03639645-88B0-408D-8442-182036FD91EB@cwis.biz> Message-ID: <36C116CF-6C6A-4F5B-BCA3-69232421DFAA@cwis.biz> Moving forward? I have this command so far: > /usr/bin/find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$" | xargs -0 /usr/bin/sa-learn --no-sync --spam ?progress But I need to put the folder name at the end of the xargs command along WITH a subfolder (like ?/.Spam.New/*?) Any thoughts on how I would do that? > On Oct 22, 2015, at 9:29 AM, Ryan Coleman wrote: > > Cuz I?m smart like that? > > find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$? > > Finds just what I need? what a rPITA. > > ? > Ryan > > >> On Oct 22, 2015, at 9:09 AM, Ryan Coleman > wrote: >> >> I have my spam-learning script which runs against all the folders that meet a criteria? however the parent directories share the same style? >> >> So what I have is? >> >> /var/mail/vhosts/domain.ltd/first.lastname/.folders{?} >> >> The scan I have search for .Spam.New and .Spam.Suspected and runs those? >> >> but I would like to scan through the entire structure and grab each first.lastname folder (it would be the *2nd* level of my scan as I have a half-dozen domains and will add more soon)? >> >> That point behind it is I can scan specific folders as SPAM and any other folders (other than Inbox, Sent and Trash) as HAM. >> >> So here?s my folder for this specific email address (cwis.biz ): >> drwxrws--- 5 vmail spamd 4096 Oct 22 09:07 .Drafts >> -rwxrwx--- 1 vmail spamd 0 Jan 21 2015 maildirfolder >> drwxrws--- 5 vmail spamd 4096 Mar 19 2015 .Mailing Lists >> drwxrws--- 5 vmail spamd 4096 Oct 22 05:49 .Mailing Lists.MySQL >> drwxrws--- 5 vmail spamd 4096 Oct 15 16:44 .Mailing Lists.Nextdoor >> drwxrws--- 5 vmail spamd 4096 Oct 17 09:38 .Mailing Lists.PFSense >> drwxrws--- 5 vmail spamd 4096 Oct 22 07:38 .Mailing Lists.spamassassin >> drwxrws--- 5 vmail spamd 4096 Oct 21 14:25 .Mailing Lists.TCLUG >> drwxrws--- 5 vmail spamd 4096 Oct 21 12:59 .Mailing Lists.TCPHP >> drwxrws--- 2 vmail spamd 16384 Oct 22 09:06 new >> drwxrws--- 5 vmail spamd 4096 Jan 21 2015 .Notes >> drwxrws--- 5 vmail spamd 4096 Oct 21 22:34 .Sent Messages >> drwxrws--- 3 vmail spamd 4096 Oct 15 17:02 sieve >> drwxrws--- 5 vmail spamd 4096 Oct 22 07:19 .Spam.New >> drwxrws--- 5 vmail spamd 4096 Oct 22 07:25 .Spam.Scanned >> drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Suspected >> drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Tagged >> -rwxrwx--- 1 vmail spamd 282 Oct 15 16:43 subscriptions >> drwxrws--- 2 vmail spamd 4096 Oct 22 09:06 tmp >> drwxrws--- 5 vmail spamd 4096 Oct 22 01:25 .Trash >> >> Basically I want to get any folder that starts with ?." inside of /var/mail/vhosts/cwis.biz/ryan.coleman/ >> >> And then run the following commands: >> >> /usr/bin/find /var/mail/vhosts/ -name '*.Spam.New*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; >> /usr/bin/find /var/mail/vhosts/ -name '*.Spam.Suspected*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; >> /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/cur/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ >> /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/new/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ >> >> My regex-foo is not very good. I know there?s a way to do that with find(1) but I wouldn?t be able to wrap my head around it anyway. >> >> TIA! >> >> ? >> Ryan >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.coleman at cwis.biz Thu Oct 22 10:35:10 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu, 22 Oct 2015 10:35:10 -0500 Subject: [tclug-list] Looping through subfolders... bash? In-Reply-To: <36C116CF-6C6A-4F5B-BCA3-69232421DFAA@cwis.biz> References: <03639645-88B0-408D-8442-182036FD91EB@cwis.biz> <36C116CF-6C6A-4F5B-BCA3-69232421DFAA@cwis.biz> Message-ID: <181017A5-4F1F-47BA-B1DF-28C299CCA315@cwis.biz> I Think I figured it out? I would love feedback? Script: /usr/bin/find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$" | xargs -i /usr/bin/sa-learn --spam --progress "{}"/.Spam.New/* It runs 18 times. When I run: /usr/bin/find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$" | xargs -i /bin/echo "{}"/.Spam.New/ I get 18 results (which is expected). So I think I have it figured out now. > On Oct 22, 2015, at 10:13 AM, Ryan Coleman wrote: > > Moving forward? > > > I have this command so far: >> /usr/bin/find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$" | xargs -0 /usr/bin/sa-learn --no-sync --spam ?progress > > But I need to put the folder name at the end of the xargs command along WITH a subfolder (like ?/.Spam.New/*?) > > Any thoughts on how I would do that? > > >> On Oct 22, 2015, at 9:29 AM, Ryan Coleman > wrote: >> >> Cuz I?m smart like that? >> >> find /var/mail/vhosts/ -type d | grep -P "\/var\/mail\/vhosts\/[a-z0-9\-\_]+\.[a-z]+\/[a-z\.]+$? >> >> Finds just what I need? what a rPITA. >> >> ? >> Ryan >> >> >>> On Oct 22, 2015, at 9:09 AM, Ryan Coleman > wrote: >>> >>> I have my spam-learning script which runs against all the folders that meet a criteria? however the parent directories share the same style? >>> >>> So what I have is? >>> >>> /var/mail/vhosts/domain.ltd/first.lastname/.folders{?} >>> >>> The scan I have search for .Spam.New and .Spam.Suspected and runs those? >>> >>> but I would like to scan through the entire structure and grab each first.lastname folder (it would be the *2nd* level of my scan as I have a half-dozen domains and will add more soon)? >>> >>> That point behind it is I can scan specific folders as SPAM and any other folders (other than Inbox, Sent and Trash) as HAM. >>> >>> So here?s my folder for this specific email address (cwis.biz ): >>> drwxrws--- 5 vmail spamd 4096 Oct 22 09:07 .Drafts >>> -rwxrwx--- 1 vmail spamd 0 Jan 21 2015 maildirfolder >>> drwxrws--- 5 vmail spamd 4096 Mar 19 2015 .Mailing Lists >>> drwxrws--- 5 vmail spamd 4096 Oct 22 05:49 .Mailing Lists.MySQL >>> drwxrws--- 5 vmail spamd 4096 Oct 15 16:44 .Mailing Lists.Nextdoor >>> drwxrws--- 5 vmail spamd 4096 Oct 17 09:38 .Mailing Lists.PFSense >>> drwxrws--- 5 vmail spamd 4096 Oct 22 07:38 .Mailing Lists.spamassassin >>> drwxrws--- 5 vmail spamd 4096 Oct 21 14:25 .Mailing Lists.TCLUG >>> drwxrws--- 5 vmail spamd 4096 Oct 21 12:59 .Mailing Lists.TCPHP >>> drwxrws--- 2 vmail spamd 16384 Oct 22 09:06 new >>> drwxrws--- 5 vmail spamd 4096 Jan 21 2015 .Notes >>> drwxrws--- 5 vmail spamd 4096 Oct 21 22:34 .Sent Messages >>> drwxrws--- 3 vmail spamd 4096 Oct 15 17:02 sieve >>> drwxrws--- 5 vmail spamd 4096 Oct 22 07:19 .Spam.New >>> drwxrws--- 5 vmail spamd 4096 Oct 22 07:25 .Spam.Scanned >>> drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Suspected >>> drwxrws--- 5 vmail spamd 4096 Oct 22 09:06 .Spam.Tagged >>> -rwxrwx--- 1 vmail spamd 282 Oct 15 16:43 subscriptions >>> drwxrws--- 2 vmail spamd 4096 Oct 22 09:06 tmp >>> drwxrws--- 5 vmail spamd 4096 Oct 22 01:25 .Trash >>> >>> Basically I want to get any folder that starts with ?." inside of /var/mail/vhosts/cwis.biz/ryan.coleman/ >>> >>> And then run the following commands: >>> >>> /usr/bin/find /var/mail/vhosts/ -name '*.Spam.New*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; >>> /usr/bin/find /var/mail/vhosts/ -name '*.Spam.Suspected*' -type d -exec /usr/bin/sa-learn --spam --progress {}* \; >>> /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/cur/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ >>> /bin/mv /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.New/new/* /var/mail/vhosts/cwis.biz/ryan.coleman/.Spam.Scanned/cur/ >>> >>> My regex-foo is not very good. I know there?s a way to do that with find(1) but I wouldn?t be able to wrap my head around it anyway. >>> >>> TIA! >>> >>> ? >>> Ryan >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.coleman at cwis.biz Thu Oct 22 12:30:20 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu, 22 Oct 2015 12:30:20 -0500 Subject: [tclug-list] Cron script returns 'cannot stat' but manually run works Message-ID: Why would a mv command in cron under a user return ?cannot stat? but when I copy/paste the command in the terminal that it is running the command executes without complaint? This is tied to my quarter-hour spam scanning program. This is being run under the user ?spamd? and the commands that fire back ?cannot stat? that actually have files in the directories will process if done manually, but not of the bash script. Could it be related to the #!/bin/bash declaration at the beginning of the script? ? Ryan From mbmiller+l at gmail.com Mon Oct 26 12:18:31 2015 From: mbmiller+l at gmail.com (Mike Miller) Date: Mon, 26 Oct 2015 12:18:31 -0500 (CDT) Subject: [tclug-list] Cron script returns 'cannot stat' but manually run works In-Reply-To: References: Message-ID: On Thu, 22 Oct 2015, Ryan Coleman wrote: > Why would a mv command in cron under a user return ?cannot stat? but > when I copy/paste the command in the terminal that it is running the > command executes without complaint? Are you supplying a full path? > This is tied to my quarter-hour spam scanning program. This is being run > under the user ?spamd? and the commands that fire back ?cannot stat? > that actually have files in the directories will process if done > manually, but not of the bash script. > > Could it be related to the #!/bin/bash declaration at the beginning of > the script? It's a script? You might try adding -l at the end of that line: #!/bin/bash -l See if that helps. Mike From twakefield at stcloudstate.edu Tue Oct 27 11:16:15 2015 From: twakefield at stcloudstate.edu (Wakefield, Thad M.) Date: Tue, 27 Oct 2015 16:16:15 +0000 Subject: [tclug-list] Escaped unicode conversion Message-ID: This seems like it should be easy. So I'm suspecting my internet search skills are deficient. I have a text file with escaped Unicode that I want to convert to plain text. From: Why We\u2019re in a New Gilded Age To: Why We're in a New Gilded Age Thanks From tclug at jfoo.org Tue Oct 27 11:22:09 2015 From: tclug at jfoo.org (John Gateley) Date: Tue, 27 Oct 2015 11:22:09 -0500 Subject: [tclug-list] Escaped unicode conversion In-Reply-To: References: Message-ID: On 2015-10-27 11:16, Wakefield, Thad M. wrote: > This seems like it should be easy. So I'm suspecting my internet > search skills are deficient. > > I have a text file with escaped Unicode that I want to convert to plain > text. > > From: Why We\u2019re in a New Gilded Age > To: Why We're in a New Gilded Age Google search "convert unicode to ascii". You'll see some answers. However, do you really want to do this? Quotes are the smallest issue. There are also letters with diacritical marks on them (which do have an obvious translation to ascii), and character sets that do not have any translation to ascii. What do you expect to happen to those? John From sraun at fireopal.org Tue Oct 27 19:29:45 2015 From: sraun at fireopal.org (Scott Raun) Date: Tue, 27 Oct 2015 19:29:45 -0500 Subject: [tclug-list] OTish: Preferred ISP? Message-ID: <20151028002945.GA23722@fireopal.org> My home ISP has been VISI/OneNeck for some time now. As of the end of the year, they're getting out of the home DSL business. I really wish they'd given me another year - I might have been able to get USI Fiber next summer. :( So, I'm in need of a new ISP. I'd like to stay with DSL - it's been rock-solid for me for years. I strongly want a static IP address. Any recommendations? -- Scott Raun sraun at fireopal.org From brian at ropers-huilman.net Tue Oct 27 20:10:31 2015 From: brian at ropers-huilman.net (Brian D. Ropers-Huilman) Date: Tue, 27 Oct 2015 20:10:31 -0500 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <20151028002945.GA23722@fireopal.org> References: <20151028002945.GA23722@fireopal.org> Message-ID: iPHouse -- Brian D. Ropers-Huilman 612.234.7778 (m) Sent from my Nexus mobile device. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at freakzilla.com Tue Oct 27 20:12:46 2015 From: tclug at freakzilla.com (Clug) Date: Tue, 27 Oct 2015 20:12:46 -0500 (CDT) Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <20151028002945.GA23722@fireopal.org> References: <20151028002945.GA23722@fireopal.org> Message-ID: People probably won't like this, but I've got Comcast Business Class back from when I was working for a place that paid for our internet access. I have a block of static IP addresses, too, and can run whatever servers I want. It's been pretty damn solid, and when/if it DOES go down, business class means you get the tech support who actually know what they're doing. They also have much faster SLAs. On Tue, 27 Oct 2015, Scott Raun wrote: > My home ISP has been VISI/OneNeck for some time now. > > As of the end of the year, they're getting out of the home DSL > business. I really wish they'd given me another year - I might have > been able to get USI Fiber next summer. :( > > So, I'm in need of a new ISP. I'd like to stay with DSL - it's been > rock-solid for me for years. I strongly want a static IP address. > > Any recommendations? > > From ryan.coleman at cwis.biz Tue Oct 27 20:22:07 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue, 27 Oct 2015 21:22:07 -0400 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: References: <20151028002945.GA23722@fireopal.org> Message-ID: <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> I love my USI. $108/month. 1Gbps up and down 8 statics. ::drool:: > On Oct 27, 2015, at 9:12 PM, Clug wrote: > > People probably won't like this, but I've got Comcast Business Class back from when I was working for a place that paid for our internet access. I have a block of static IP addresses, too, and can run whatever servers I want. It's been pretty damn solid, and when/if it DOES go down, business class means you get the tech support who actually know what they're doing. They also have much faster SLAs. > > On Tue, 27 Oct 2015, Scott Raun wrote: > >> My home ISP has been VISI/OneNeck for some time now. >> >> As of the end of the year, they're getting out of the home DSL >> business. I really wish they'd given me another year - I might have >> been able to get USI Fiber next summer. :( >> >> So, I'm in need of a new ISP. I'd like to stay with DSL - it's been >> rock-solid for me for years. I strongly want a static IP address. >> >> Any recommendations? >> >> > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From tclug at freakzilla.com Tue Oct 27 20:24:36 2015 From: tclug at freakzilla.com (Clug) Date: Tue, 27 Oct 2015 20:24:36 -0500 (CDT) Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> Message-ID: On Tue, 27 Oct 2015, Ryan Coleman wrote: > I love my USI. What's their policy on running your own servers? How's the stability? Will they let you control your reverse DNS? From tclug at freakzilla.com Tue Oct 27 20:26:40 2015 From: tclug at freakzilla.com (Clug) Date: Tue, 27 Oct 2015 20:26:40 -0500 (CDT) Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> Message-ID: Scratch that. Their coverage area is extremely limited. On Tue, 27 Oct 2015, Clug wrote: > On Tue, 27 Oct 2015, Ryan Coleman wrote: > >> I love my USI. > > What's their policy on running your own servers? How's the stability? Will > they let you control your reverse DNS? > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From ryan.coleman at cwis.biz Tue Oct 27 20:26:13 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue, 27 Oct 2015 21:26:13 -0400 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> Message-ID: > On Oct 27, 2015, at 9:24 PM, Clug wrote: > > On Tue, 27 Oct 2015, Ryan Coleman wrote: > >> I love my USI. > > What's their policy on running your own servers? How's the stability? Will they let you control your reverse DNS? Business class. Yep. But I think I got a sweetheart deal from them to get me signed up. > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From tompoe at meltel.net Tue Oct 27 22:29:24 2015 From: tompoe at meltel.net (Tom) Date: Tue, 27 Oct 2015 22:29:24 -0500 Subject: [tclug-list] sound issues Message-ID: <56304114.4060101@meltel.net> Hello: I switched my computer from one monitor to another. I ran into sound issues. The monitor is an Acer flat screen, has an audio in element. I plugged that into the audio out element on the computer. I get a faint sound volume, and cannot control volume so far. I brought up sound app and ran test sound, which was faint. I then pulled a speaker (L and R), and plugged that in. I ran test sounds, same result. I then ran sound effects, and they were at full sound settings from before. So, how to troubleshoot? Any help appreciated. Tom -- Criminalization of homelessness costs more than communities providing housing. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tompoe at meltel.net Tue Oct 27 22:41:21 2015 From: tompoe at meltel.net (Tom) Date: Tue, 27 Oct 2015 22:41:21 -0500 Subject: [tclug-list] sound issues solved Message-ID: <563043E1.4040306@meltel.net> Works every time. I futz around with issue, finally send email for help, and issue resolved. In this case, it was Internet connection broken when I turned off computer without shutting down properly, made changes, and web browser continued to work off old settings, until I restarted it. All is well. Sorry for another false alarm. Tom -- Criminalization of homelessness costs more than communities providing housing. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbmiller+l at gmail.com Wed Oct 28 03:07:25 2015 From: mbmiller+l at gmail.com (Mike Miller) Date: Wed, 28 Oct 2015 03:07:25 -0500 (CDT) Subject: [tclug-list] Escaped unicode conversion In-Reply-To: References: Message-ID: On Tue, 27 Oct 2015, Wakefield, Thad M. wrote: > This seems like it should be easy. So I'm suspecting my internet search skills are deficient. > > I have a text file with escaped Unicode that I want to convert to plain text. > > From: Why We\u2019re in a New Gilded Age > To: Why We're in a New Gilded Age Tell us if this works for you: perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex $1)/ge' It assumes there are always four hexadecimal digits following the "\u". It will give warnings to stderr about "Wide character in print". Your example shows conversion to an ordinary apostrophe, like this: We're But my code will give you the UTF-8 character U+2019, like this: We?re And that is probably what you want. Mike From mbmiller+l at gmail.com Wed Oct 28 03:25:00 2015 From: mbmiller+l at gmail.com (Mike Miller) Date: Wed, 28 Oct 2015 03:25:00 -0500 (CDT) Subject: [tclug-list] Escaped unicode conversion In-Reply-To: References: Message-ID: On Wed, 28 Oct 2015, Mike Miller wrote: > But my code will give you the UTF-8 character U+2019, like this: > > We?re > > And that is probably what you want. FYI: http://www.fileformat.info/info/unicode/char/2019/index.htm Mike From mbmiller+l at gmail.com Wed Oct 28 03:27:32 2015 From: mbmiller+l at gmail.com (Mike Miller) Date: Wed, 28 Oct 2015 03:27:32 -0500 (CDT) Subject: [tclug-list] Escaped unicode conversion In-Reply-To: References: Message-ID: yOn Wed, 28 Oct 2015, Mike Miller wrote: > On Wed, 28 Oct 2015, Mike Miller wrote: > >> But my code will give you the UTF-8 character U+2019, like this: >> >> We?re >> >> And that is probably what you want. > > > FYI: > > http://www.fileformat.info/info/unicode/char/2019/index.htm I meant to add this for contrast: http://www.fileformat.info/info/unicode/char/0027/index.htm Mike From sraun at fireopal.org Wed Oct 28 10:25:23 2015 From: sraun at fireopal.org (Scott Raun) Date: Wed, 28 Oct 2015 10:25:23 -0500 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> Message-ID: <20151028152523.GF29751@fireopal.org> Ryan, Did you notice where I complained about Oneneck cutting this off a year early from my POV, and why? On Tue, Oct 27, 2015 at 09:22:07PM -0400, Ryan Coleman wrote: > I love my USI. > > $108/month. > > 1Gbps up and down > 8 statics. > > ::drool:: > > > > On Oct 27, 2015, at 9:12 PM, Clug wrote: > > > > People probably won't like this, but I've got Comcast Business Class back from when I was working for a place that paid for our internet access. I have a block of static IP addresses, too, and can run whatever servers I want. It's been pretty damn solid, and when/if it DOES go down, business class means you get the tech support who actually know what they're doing. They also have much faster SLAs. > > > > On Tue, 27 Oct 2015, Scott Raun wrote: > > > >> My home ISP has been VISI/OneNeck for some time now. > >> > >> As of the end of the year, they're getting out of the home DSL > >> business. I really wish they'd given me another year - I might have > >> been able to get USI Fiber next summer. :( > >> > >> So, I'm in need of a new ISP. I'd like to stay with DSL - it's been > >> rock-solid for me for years. I strongly want a static IP address. > >> > >> Any recommendations? > >> > >> > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Scott Raun sraun at fireopal.org From ryan.coleman at cwis.biz Wed Oct 28 10:40:39 2015 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Wed, 28 Oct 2015 11:40:39 -0400 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <20151028152523.GF29751@fireopal.org> References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> <20151028152523.GF29751@fireopal.org> Message-ID: <7F823CA7-4837-4225-9A56-15B76F817E1C@cwis.biz> I did? You could go USI DSL in the interim and then migrate to the FTTH when it becomes available. Where do you live? > On Oct 28, 2015, at 11:25 AM, Scott Raun wrote: > > Ryan, > > Did you notice where I complained about Oneneck cutting this off a > year early from my POV, and why? > > On Tue, Oct 27, 2015 at 09:22:07PM -0400, Ryan Coleman wrote: >> I love my USI. >> >> $108/month. >> >> 1Gbps up and down >> 8 statics. >> >> ::drool:: >> >> >>> On Oct 27, 2015, at 9:12 PM, Clug wrote: >>> >>> People probably won't like this, but I've got Comcast Business Class back from when I was working for a place that paid for our internet access. I have a block of static IP addresses, too, and can run whatever servers I want. It's been pretty damn solid, and when/if it DOES go down, business class means you get the tech support who actually know what they're doing. They also have much faster SLAs. >>> >>> On Tue, 27 Oct 2015, Scott Raun wrote: >>> >>>> My home ISP has been VISI/OneNeck for some time now. >>>> >>>> As of the end of the year, they're getting out of the home DSL >>>> business. I really wish they'd given me another year - I might have >>>> been able to get USI Fiber next summer. :( >>>> >>>> So, I'm in need of a new ISP. I'd like to stay with DSL - it's been >>>> rock-solid for me for years. I strongly want a static IP address. >>>> >>>> Any recommendations? >>>> >>>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -- > Scott Raun > sraun at fireopal.org > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From tclug1 at whitleymott.net Wed Oct 28 11:18:21 2015 From: tclug1 at whitleymott.net (gregrwm) Date: Wed, 28 Oct 2015 11:18:21 -0500 Subject: [tclug-list] OTish: Preferred ISP? Message-ID: when my introductory centurylink offer expired, i called to cancel, said it's time to switch back to comcast's current offer, unless you want to match it. they did, and gave me 40meg no contract. when my modem bit the dust, i went to the centurylink store for a new one, and the clerk said wow you have a better deal than i do. works great, especially since i ignore their dns and use 8.8.8.8 instead. i would prefer ipHouse but they didn't appear interested to match the offer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From twakefield at stcloudstate.edu Wed Oct 28 14:39:28 2015 From: twakefield at stcloudstate.edu (Wakefield, Thad M.) Date: Wed, 28 Oct 2015 19:39:28 +0000 Subject: [tclug-list] Escaped unicode conversion In-Reply-To: References: , Message-ID: ____________________________________ From: tclug-list-bounces at mn-linux.org [tclug-list-bounces at mn-linux.org] on behalf of Mike Miller [mbmiller+l at gmail.com] Sent: Wednesday, October 28, 2015 3:07 AM To: TCLUG Mailing List Subject: Re: [tclug-list] Escaped unicode conversion On Tue, 27 Oct 2015, Wakefield, Thad M. wrote: >> This seems like it should be easy. So I'm suspecting my internet search skills are deficient. >> >> I have a text file with escaped Unicode that I want to convert to plain text. >> >> From: Why We\u2019re in a New Gilded Age >> To: Why We're in a New Gilded Age > >Tell us if this works for you: > >perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex $1)/ge' > >It assumes there are always four hexadecimal digits following the "\u". >It will give warnings to stderr about "Wide character in print". > >Your example shows conversion to an ordinary apostrophe, like this:> > >We're > >But my code will give you the UTF-8 character U+2019, like this: > >We?re > >And that is probably what you want. > >Mike This converted the text file with escaped Unicode to an UTF8 file which I was able to convert to an ASCII text file with Notepad++. I was unable to get iconv to do the conversion. Thanks From sraun at fireopal.org Wed Oct 28 16:10:41 2015 From: sraun at fireopal.org (Scott Raun) Date: Wed, 28 Oct 2015 16:10:41 -0500 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <7F823CA7-4837-4225-9A56-15B76F817E1C@cwis.biz> References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> <20151028152523.GF29751@fireopal.org> <7F823CA7-4837-4225-9A56-15B76F817E1C@cwis.biz> Message-ID: <20151028211041.GC610@fireopal.org> Hmm - apparently I had a memory read failure. I would have sworn I couldn't find anything about residential DSL on their site. And I did just now. On Wed, Oct 28, 2015 at 11:40:39AM -0400, Ryan Coleman wrote: > I did??? You could go USI DSL in the interim and then migrate to the FTTH when it becomes available. > > Where do you live? > > > > On Oct 28, 2015, at 11:25 AM, Scott Raun wrote: > > > > Ryan, > > > > Did you notice where I complained about Oneneck cutting this off a > > year early from my POV, and why? > > > > On Tue, Oct 27, 2015 at 09:22:07PM -0400, Ryan Coleman wrote: > >> I love my USI. > >> > >> $108/month. > >> > >> 1Gbps up and down > >> 8 statics. > >> > >> ::drool:: > >> > >> > >>> On Oct 27, 2015, at 9:12 PM, Clug wrote: > >>> > >>> People probably won't like this, but I've got Comcast Business Class back from when I was working for a place that paid for our internet access. I have a block of static IP addresses, too, and can run whatever servers I want. It's been pretty damn solid, and when/if it DOES go down, business class means you get the tech support who actually know what they're doing. They also have much faster SLAs. > >>> > >>> On Tue, 27 Oct 2015, Scott Raun wrote: > >>> > >>>> My home ISP has been VISI/OneNeck for some time now. > >>>> > >>>> As of the end of the year, they're getting out of the home DSL > >>>> business. I really wish they'd given me another year - I might have > >>>> been able to get USI Fiber next summer. :( > >>>> > >>>> So, I'm in need of a new ISP. I'd like to stay with DSL - it's been > >>>> rock-solid for me for years. I strongly want a static IP address. > >>>> > >>>> Any recommendations? > >>>> > >>>> > >>> _______________________________________________ > >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > >>> tclug-list at mn-linux.org > >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > >> > >> _______________________________________________ > >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > >> tclug-list at mn-linux.org > >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > -- > > Scott Raun > > sraun at fireopal.org > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Scott Raun sraun at fireopal.org From sraun at fireopal.org Thu Oct 29 15:12:24 2015 From: sraun at fireopal.org (Scott Raun) Date: Thu, 29 Oct 2015 15:12:24 -0500 Subject: [tclug-list] OTish: Preferred ISP? In-Reply-To: <20151028211041.GC610@fireopal.org> References: <20151028002945.GA23722@fireopal.org> <430B5AF9-ECA5-4B58-B011-68C63D8EA71C@cwis.biz> <20151028152523.GF29751@fireopal.org> <7F823CA7-4837-4225-9A56-15B76F817E1C@cwis.biz> <20151028211041.GC610@fireopal.org> Message-ID: <20151029201224.GA14777@fireopal.org> And their sales guy just told me *they're* also phasing out their residential DSL, and so are doing no new setups. :( Looks like I'm going with IPHouse. On Wed, Oct 28, 2015 at 04:10:41PM -0500, Scott Raun wrote: > Hmm - apparently I had a memory read failure. I would have sworn I > couldn't find anything about residential DSL on their site. And I did > just now. > > On Wed, Oct 28, 2015 at 11:40:39AM -0400, Ryan Coleman wrote: > > I did??? You could go USI DSL in the interim and then migrate to the FTTH when it becomes available. > > > > Where do you live? > > > > > > > On Oct 28, 2015, at 11:25 AM, Scott Raun wrote: > > > > > > Ryan, > > > > > > Did you notice where I complained about Oneneck cutting this off a > > > year early from my POV, and why? > > > > > > On Tue, Oct 27, 2015 at 09:22:07PM -0400, Ryan Coleman wrote: > > >> I love my USI. > > >> > > >> $108/month. > > >> > > >> 1Gbps up and down > > >> 8 statics. > > >> > > >> ::drool:: > > >> > > >> > > >>> On Oct 27, 2015, at 9:12 PM, Clug wrote: > > >>> > > >>> People probably won't like this, but I've got Comcast Business Class back from when I was working for a place that paid for our internet access. I have a block of static IP addresses, too, and can run whatever servers I want. It's been pretty damn solid, and when/if it DOES go down, business class means you get the tech support who actually know what they're doing. They also have much faster SLAs. > > >>> > > >>> On Tue, 27 Oct 2015, Scott Raun wrote: > > >>> > > >>>> My home ISP has been VISI/OneNeck for some time now. > > >>>> > > >>>> As of the end of the year, they're getting out of the home DSL > > >>>> business. I really wish they'd given me another year - I might have > > >>>> been able to get USI Fiber next summer. :( > > >>>> > > >>>> So, I'm in need of a new ISP. I'd like to stay with DSL - it's been > > >>>> rock-solid for me for years. I strongly want a static IP address. > > >>>> > > >>>> Any recommendations? > > >>>> > > >>>> > > >>> _______________________________________________ > > >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > >>> tclug-list at mn-linux.org > > >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > >> > > >> _______________________________________________ > > >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > >> tclug-list at mn-linux.org > > >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > > -- > > > Scott Raun > > > sraun at fireopal.org > > > _______________________________________________ > > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > > tclug-list at mn-linux.org > > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -- > Scott Raun > sraun at fireopal.org -- Scott Raun sraun at fireopal.org From sdalano at gmail.com Fri Oct 30 19:06:39 2015 From: sdalano at gmail.com (Saul Alanis) Date: Fri, 30 Oct 2015 19:06:39 -0500 Subject: [tclug-list] awk - one liner In-Reply-To: References: Message-ID: I have a file with multiple fields; 2 | foo | bar 4 | bar | foo 1 | bar | foo 3 | foo | bar My goal is to sort the first field numerically and print the first field of the last result. awk -F"|" '/foo/ {print $1 | "sort"}' awk -F"|" '/foo/ {number=$1} END {print version}' Help is greatly appreciated :) SDA -------------- next part -------------- An HTML attachment was scrubbed... URL: From gsker at skerbitz.org Fri Oct 30 19:52:13 2015 From: gsker at skerbitz.org (gerry) Date: Fri, 30 Oct 2015 19:52:13 -0500 (CDT) Subject: [tclug-list] awk - one liner In-Reply-To: References: Message-ID: Saul, It sounds like you just want the max for the first field? gawk '/foo/{if (max < $1) max=$1} END {print $1}' file But that doesn't seem likely since it's too simple - no offence intended. Did you want the 2nd field of the row with the max of the first field? gawk '/foo/{if (max < $1) {max=$1;save3=$3} } END {print save3;}' I'm ignoring the vertical bars because your example had spaces which awk recognizes by default. If the spaces are not consistent then you might want to use -F. You can probably find a good example of what you want on http://commandlinefu.com -- gsker at skerbitz.org On Fri, 30 Oct 2015, Saul Alanis wrote: > > I have a file with multiple fields; > > 2 | foo | bar > 4 | bar | foo > 1 | bar | foo > 3 | foo | bar > > My goal is to sort the first field numerically and print the first field of the last result. > > awk -F"|" '/foo/ {print $1 | "sort"}' > > awk -F"|" '/foo/ {number=$1} END {print version}' > > Help is greatly appreciated :) > > SDA > > > From sdalano at gmail.com Fri Oct 30 20:33:09 2015 From: sdalano at gmail.com (Saul Alanis) Date: Fri, 30 Oct 2015 20:33:09 -0500 Subject: [tclug-list] awk - one liner In-Reply-To: References: Message-ID: Thanks Gerry. With your suggestion a solution was found: awk -F"|" 'BEGIN {max = 0} $2 ~ /foo/ {if ($1>max) max=$1} END{print max}' Sincerely, SDA On Fri, Oct 30, 2015 at 7:52 PM, gerry wrote: > Saul, > It sounds like you just want the max for the first field? > gawk '/foo/{if (max < $1) max=$1} END {print $1}' file > > But that doesn't seem likely since it's too simple - no offence intended. > > Did you want the 2nd field of the row with the max of the first field? > gawk '/foo/{if (max < $1) {max=$1;save3=$3} } END {print save3;}' > > I'm ignoring the vertical bars because your example had spaces which awk > recognizes by default. > If the spaces are not consistent then you might want to use -F. > > You can probably find a good example of what you want > on http://commandlinefu.com > > -- > gsker at skerbitz.org > > > On Fri, 30 Oct 2015, Saul Alanis wrote: > > >> I have a file with multiple fields; >> >> 2 | foo | bar >> 4 | bar | foo >> 1 | bar | foo >> 3 | foo | bar >> >> My goal is to sort the first field numerically and print the first field >> of the last result. >> >> awk -F"|" '/foo/ {print $1 | "sort"}' >> >> awk -F"|" '/foo/ {number=$1} END {print version}' >> >> Help is greatly appreciated :) >> >> SDA >> >> >> >> _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tompoe at meltel.net Fri Oct 30 23:41:19 2015 From: tompoe at meltel.net (Tom) Date: Fri, 30 Oct 2015 23:41:19 -0500 Subject: [tclug-list] Looking for external computer speakers Message-ID: <5634466F.7090007@meltel.net> I'm in the market for external computer speakers compatible with Linux running on a Dell desktop. I noticed that a $27 set of Logitech Z200 with 5W each speaker from Best Buy qualifies as only Window compatible. Is this still an issue? Tom -- Criminalization of homelessness costs more than communities providing housing. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at freakzilla.com Fri Oct 30 23:55:12 2015 From: tclug at freakzilla.com (Clug) Date: Fri, 30 Oct 2015 23:55:12 -0500 (CDT) Subject: [tclug-list] Looking for external computer speakers In-Reply-To: <5634466F.7090007@meltel.net> References: <5634466F.7090007@meltel.net> Message-ID: Just get speakers that plug into an actual speaker port and not a USB port. That'll be compatible with everything. On Fri, 30 Oct 2015, Tom wrote: > I'm in the market for external computer speakers compatible with Linux > running on a Dell desktop.? I noticed that a $27 set of Logitech Z200 with > 5W each speaker from Best Buy qualifies as only Window compatible.? Is this > still an issue? > Tom > > From tclug1 at whitleymott.net Sat Oct 31 23:53:16 2015 From: tclug1 at whitleymott.net (gregrwm) Date: Sat, 31 Oct 2015 23:53:16 -0500 Subject: [tclug-list] will FCC rules relegate linux to virtual machines only? Message-ID: we already know BIOS/EFI infections on most existing PC&Mac hardware can propagate and remain undetectable&unremovable via software alone. some say the PC is therefore dead. but of course new hardware always comes along. but wait, what will you be able to run on tomorrow's hardware? only what the manufacturer approves? Yes, the FCC might ban free operating systems . Support software freedom, submit a comment to the FCC . here's mine: Dear FCC, Please maintain our freedom to share and use free software on our computing devices. Wireless networking research depends on the freedom of researchers to investigate and modify their devices. Citizens and businesses need the freedom to fix security holes in the devices they own. The manufacturer isn't always motivated to do so. User submitted fixes, which have fixed serious bugs in wifi drivers, would become banned under the NPRM. Banning user fixing of security holes increases both cyberthreats and electronic waste. Billions of dollars of commerce, such as secure wifi vendors and retail hotspot vendors, depends on the freedom of citizens and businesses to install the software of their choosing. Please refrain from implementing rules which remove our freedom to install free software on our computing devices. Please understand, respect, and protect our freedom to read, write, and share the software and firmware that controls our computing and communication devices. Thank you, Gregory Mott ECFS Filing Receipt - Confirmation number: 20151030035598 -------------- next part -------------- An HTML attachment was scrubbed... URL: