[nlug] Command of the Day

2014-02-18 Thread Howard White
I never knew how to ask the question... Export samba user configurations for backup or migration pdbedit -e smbpasswd:/somedir/somefile.backup (file name is user choice) Import samba user configurations from existing smbpasswd file: pdbedit -i smbpasswd:/somdir/somefile Going to test --

Re: [nlug] Command of the Day

2014-02-18 Thread Blake Dunlap
I would have sent you a cookie had you posted this about a week ago before I migrated my server =/ -Blake On Tue, Feb 18, 2014 at 1:55 PM, Howard White hwh...@vcch.com wrote: I never knew how to ask the question... Export samba user configurations for backup or migration pdbedit -e

Cookie; was Re: [nlug] Command of the Day

2014-02-18 Thread Howard White
On 02/18/2014 02:09 PM, Blake Dunlap wrote: I would have sent you a cookie had you posted this about a week ago before I migrated my server =/ -Blake As usual: day late, cookie short... :( Howard -- -- You received this message because you are subscribed to the Google Groups NLUG group.

[nlug] [Command of the Day] I've been looking for this for a long time!!!

2013-05-21 Thread Howard White
I almost posted a few minutes ago claiming weak google foo. So you want a GUI login screen where the user names are _NOT_ listed? (in Gnome): gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /apps/gdm/simple-greeter/disable_user_list true

[nlug] [Command of the Day] pdbedit

2013-05-15 Thread Howard White
Yes, I did a quick google and found my answer first try. Wanted to list the user names currently in the samba database: pdbedit -L gave me a simple list pdbedit -L -v gave me a verbose list Rinse, repeat and read the man page... Howard -- -- You received this message because you are

[nlug] [Command of the Day] ntpstat

2013-04-18 Thread Howard White
okay, I've never tripped over this command. Background - I've known for some time that the command ntpdate was deprecated. The command sntp is one alternative as is ntpd -q. I kinda liked the ntpdate allowing one to specify the ntp server of choice but one should probably maintain the time

[nlug] [Command of the Day] arping

2013-02-21 Thread Howard White
Okay, stop me if you've heard this one before... I keep having to chase printers that for what ever good reason get their IP addresses changed. I do not control the networks upon which these printers reside; I am not able to setup dhcpd with pools of IPs for like devices or reserve IPs based

Re: [nlug] [Command of the Day] arping

2013-02-21 Thread Jack Coats
Printers are a pain. Networks are a pain. But without them we don't have jobs. Could you use something to traverse an SMTP tree to get the information? Just a stab in the dark, and I don't know the tools to do that either. -- -- You received this message because you are subscribed to the

Re: [nlug] [Command of the Day] arping

2013-02-21 Thread Howard White
On 02/21/2013 03:03 PM, Jack Coats wrote: Printers are a pain. Networks are a pain. But without them we don't have jobs. Could you use something to traverse an SMTP tree to get the information? Just a stab in the dark, and I don't know the tools to do that either. -- Simple Mail

Re: [nlug] [Command of the Day] arping

2013-02-21 Thread Drew from Zhrodague
On 2/21/13 2:50 PM, Howard White wrote: Okay, stop me if you've heard this one before... I keep having to chase printers that for what ever good reason get their IP addresses changed. I do not control the networks upon which these printers reside; I am not able to setup dhcpd with pools of IPs

Re: [nlug] [Command of the Day] arping

2013-02-21 Thread Jack Coats
I might be dangerous if I could get my TLA's and FLA's in order :) Yes, SNMP is what I had in mind. If the printer is capable, could it use google print, or HP's version, or Apple's version of the same technology? Another thing might be able to have the printer set up as the routers's DMZ

Re: [nlug] [Command of the Day] arping

2013-02-21 Thread Howard White
On 02/21/2013 06:55 PM, Jack Coats wrote: I might be dangerous if I could get my TLA's and FLA's in order :) Yes, SNMP is what I had in mind. If the printer is capable, could it use google print, or HP's version, or Apple's version of the same technology? Another thing might be able to have

[nlug] Command of the Day - whowatch

2013-02-19 Thread Howard White
Okay folks, just tripped over something useful. Check out whowatch. I just did a yum install on a RHEL 5.2 system and it retrieved from rpmforge. Howard -- -- You received this message because you are subscribed to the Google Groups NLUG group. To post to this group, send email to

[nlug] Command of the Day (or whenever someone has just googled for 20 minutes...)

2012-06-14 Thread Howard White
Okay, so I'm not leading edge here... Wanted to know how much video memory my workstation system has. Have other cards that could be swapped out should that be a good thing. Step one - find video card address within lspci my example listed as 01:00.0 VGA Compatible Controller...

Re: [nlug] Command of the Day (or whenever someone has just googled for 20 minutes...)

2012-06-14 Thread Chris McQuistion
I don't think that command lspci -v -s 01:00.0 is necessarily reliable at telling you the actual video RAM for your card. I just ran it on one of my Atom boxes that I know uses 8 MB of system RAM for the pitiful onboard video. It reported the following: 00:02.0 VGA compatible controller:

Re: [nlug] Command of the Day (or whenever someone has just googled for 20 minutes...)

2012-06-14 Thread Sabuj Pattanayek
Definitely does not work for all gpus : % /sbin/lspci -vvv -s 04:00.0 04:00.0 VGA compatible controller: nVidia Corporation Device 1080 (rev a1) (prog-if 00 [VGA controller]) Subsystem: eVga.com. Corp. Device 1584 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-

RE: [nlug] Command of the Day (or whenever someone has just googled for 20 minutes...)

2012-06-14 Thread Toth, Csaba
From: nlug-talk@googlegroups.com [nlug-talk@googlegroups.com] On Behalf Of Chris McQuistion [cmcquist...@watkins.edu] Sent: Thursday, June 14, 2012 3:42 PM To: nlug-talk@googlegroups.com Subject: Re: [nlug] Command of the Day (or whenever someone has just googled for 20

Re: [nlug] Command of the Day

2010-06-01 Thread Tim Jackson
+1 On Tue, Jun 1, 2010 at 7:25 AM, Greg Donald gdon...@gmail.com wrote: On Tue, Jun 1, 2010 at 6:58 AM, Howard White how...@usit.net wrote: Just got a blog post discussing the improved utility of vimdiff versus the traditional diff. Haven't had the opportunity to try vimdiff yet but I

[nlug] Command of the day

2010-01-27 Thread Curt Lundgren
I enjoy using pushd, but I typically forget to use it before changing directories. Of course there's always 'cd -' which will take you to the last directory you were in. Just now I had a thought - will this work with pushd? The answer is yes. Scenario: You're in /home/foo and you cd to

Re: [nlug] Command of the day

2010-01-27 Thread Bill Woody
Excellent trick. I will be using it later today. Thanks! Woody On 1/27/10, Curt Lundgren verif...@gmail.com wrote: I enjoy using pushd, but I typically forget to use it before changing directories. Of course there's always 'cd -' which will take you to the last directory you were in. Just

Re: [nlug] Command of the day

2010-01-27 Thread arjun jain
greate trick . thanks -- Arjun Jain On Wed, Jan 27, 2010 at 11:53 PM, Bill Woody woody39...@gmail.com wrote: Excellent trick. I will be using it later today. Thanks! Woody On 1/27/10, Curt Lundgren verif...@gmail.com wrote: I enjoy using pushd, but I typically forget to use it before

[nlug] Command of the Day

2009-11-18 Thread Andrew Farnsworth
Not really all that useful, but worth knowing about... please note that there is NOT a no command or a maybe command. Andy YES(1) User Commands YES(1) NAME yes - output a string repeatedly until killed SYNOPSIS yes [STRING]... yes OPTION

Re: [nlug] Command of the Day

2009-11-18 Thread Don Delp
On Wed, Nov 18, 2009 at 9:12 AM, Andrew Farnsworth farn...@gmail.com wrote: Not really all that useful, but worth knowing about...  please note that there is NOT a no command or a maybe command. Andy YES(1)   User Commands YES(1) NAME    yes - output a string

Re: [nlug] Command of the Day

2009-11-18 Thread Andrew Farnsworth
On Wed, Nov 18, 2009 at 11:29 AM, Don Delp nesma...@gmail.com wrote: Does anybody have a real-life usage example? I've seen this command but never found anything for it to do. Maybe generate a large text file? $ time yes this is large foo.txt ^C real0m0.988s user0m0.780s sys

Re: [nlug] Command of the Day

2009-11-18 Thread Andrew Farnsworth
Just don't do: yes `yes` this runs it recursively ad-infinitum and brings a machine to it's knees. Andy -- You received this message because you are subscribed to the Google Groups NLUG group. To post to this group, send email to nlug-t...@googlegroups.com. To unsubscribe from this group,

[nlug] Command of the Day

2009-07-02 Thread Andrew Farnsworth
Newby command of the day: less The less command is similar to the more command except that it provides more functionality. In other words... less is more :-) Seriously, less provides text file viewing a page at a time, while providing full search functionality as in vi (or vim). This is

[nlug] Command of the day

2009-02-12 Thread Drew
I haven't seen this for a while, so I'll throw this one out that I had to use yesterday: sort lets say you've got a file that contains a list of servers, which were added to the file because of x event: lauas...@angel(~)$ more somefile web3 web1 web3 web2 web2 web1 web2 So now you want to