Re: [OCLUG-Tech] stupid bash question: BASH IFS trick

2009-03-25 Thread Walt Sullivan
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } You could try "diff --recursive dir1 dir2", and let diff worry about the filenames. Or, if you're dealing with filenames with embedded spaces, you could change what Bash thinks the space in the filenames is for, by altering the

Re: [OCLUG-Tech] acceptable bourne shell function names

2009-06-29 Thread Walt Sullivan
>From "man bash" Shell Function Definitions A shell function is an object that is called like a simple command and executes a compound command with a new set of positional parameters. Shell functions are declared as follows: [ function ] name () compound-command [redirect

[OCLUG-Tech] Showing files in memory

2010-04-25 Thread Walt Sullivan
I just thought up an interesting shell-command phrase, in answer to "What files are mapped into memory? Do I have /.evil/.overlord/.control/.program hidden somewhere?": $ sudo cat /proc/[0-9]*/maps | cut -c82- | sort | uniq -c | sort -n which tells me which files are mapped into memory by every e

Re: [OCLUG-Tech] SECURITY ALERT: Phishing Attack (Fwd: Email Security Upgrade)

2011-07-09 Thread Walt Sullivan
Try the "Reverse Lookup" feature at http://www.canada411.com On Fri, 2011-07-08 at 12:04 -0400, Brenda J. Butler wrote: > Yes, I'm trying to determine if a notice I got from GOC (paper, via > postal mail) is valid ... it looks real, but the person and phone > number are not in GEDS (Government Ele

Re: [OCLUG-Tech] how to use udevadm to print *just* KERNEL and SUBSYSTEM?

2013-03-18 Thread Walt Sullivan
Append "| egrep 'looking at|KERNEL==|SUBSYSTEM=='" to your command. On Sat, 2013-03-16 at 13:41 -0400, Robert P. J. Day wrote: > currently writing a tutorial on udev and i'm drawing a blank on > something that should be simple -- what variation of udevadm can i use > to print just the KERNEL and S

Re: [OCLUG-Tech] can't copy some files

2016-09-20 Thread Walt Sullivan
The microSD card file system probably doesn't support long filenames or non-alphanumeric filenames. Executing mount will show you the file system type, probably "vfat", and the options it was mounted with. Read man mount to understand the options. Depending on what other systems will