1,087 reputation
313
bio website sbin-jodie.blogspot.com
location Oklahoma
age
visits member for 2 years, 9 months
seen Nov 18 '13 at 5:23

Feb
14
comment Split log file by time range
You might check cronosplit to split the files out.
Feb
2
comment What distro is the most similar to RHEL 5?
As I said, it's derived from RHEL and is almost identical in practice. That wouldn't preclude the differences in package repository handling.
Dec
8
comment How can I “cat” a file and remove commented lines?
Another one I've done that always stuck with me was grep '^[^;]' filename. I can't speak to its portability though!
Dec
4
comment receiving command as a parameter in bash
I wonder if $($1) would fix anything. Couldn't hurt to try.
Nov
29
comment Tracing RHEL system hack
Generally speaking if they have physical access to the machine you're out of luck, and since they had root they can erase any record of their access. There are some physical security and encryption controls that you can use to reduce the risk of physical access. Look at the CIS RHEL5 Benchmark and the NSA guide for securing RHEL for information on physical security controls.
Nov
19
comment Is there a way track bandwidth over time like days, months?
Are you already logging with sysstat's sar? You might have everything you need already.
Nov
12
comment Easiest way to manage users for two machines
The example was meant to complement your answer, I just added the last line to reiterate for the asker's benefit that such an implementation could be done in any config management system.
Nov
11
comment Easiest way to manage users for two machines
Here is how a large organization takes that approach with Puppet and SSH keys. The puppetmaster distributes the local user accounts, ssh settings directory for each user, and sets a password for each user. This can be replicated in just about any config management system, not just Puppet.
Nov
11
comment Why does a default Linux installation run more processes than a default OpenBSD installation?
On a CentOS 6.3 machine (minimal w/ redhat-lsb), ps aux|grep -v "\[.*\]"|wc -l returns 26 processes.
Nov
11
comment how to allow SSH connection with a password instead of key exchange.
What package and version of SSH are the two machines running?
Nov
10
comment In bash, is it possible to use an integer variable in the loop control of a for loop?
Builtins are not problematic at all. I wanted to provide an all-bash solution for the asker. If you want to keep arguing about this, take it to chat; comments aren't good for this sort of thing
Nov
10
comment In bash, is it possible to use an integer variable in the loop control of a for loop?
@jordanm: For using all builtins with bash. Then I said "but with seq", acknowledging that it's not a built-in.
Nov
9
comment Who can use cron? I can't help myself. Who is using cron?
@delh: In your example there's no need for a slash at all. Every minute: five asterisks. Every hour: an integer between 0 and 59 followed by four asterisks.
Nov
9
comment Who can use cron? I can't help myself. Who is using cron?
@delh - The slash syntax is not portable to many Unixes.
Oct
9
comment Graphical logviewer that auto reload when file changes?
Do you mean that it should swing over to the new file when logrotate is called, as opposed to staying on the original fd?
Sep
16
comment What do you filter / exclude list when doing backup with rsync?
No, not distros. I mean HP-UX, Solaris, AIX, FreeBSD, etc.
Sep
16
comment What do you filter / exclude list when doing backup with rsync?
Comprehensive as in every current Unix platform?
Sep
10
comment How to put “glue” CWD (etc.) to part of the screen instead of putting into PS1?
Would a window title suffice? How to set window title in bash
Jun
14
comment Running 64bit OS , Find all 32bit programs on a system
@poige, I said nothing about -mount, please stay on topic.
Jun
14
comment Running 64bit OS , Find all 32bit programs on a system
@poige OP decided "all 32bit programs"