614 reputation
33
bio website redhardsupra.blogspot.com
location Laurel, MD
age 37
visits member for 4 years, 4 months
seen 2 days ago

Aug
20
awarded  Yearling
Jun
26
comment Why can't Vim open a 100 MB text file when I have 16 GB RAM?
Yup, syntax highlighting on things like XML and SQL can get very slow on larger files.
Mar
11
answered Some Ossec agents not able to communicate with OSSEC server
Feb
28
comment Why are bash tests so picky about whitespace?
Hm, I've been using it for years, never thought of why it's this way and not any other. This makes total sense. Thank you for education.
Jun
19
comment mount options shown in /proc/mounts
Is there a way to show all flags, in whatever state they're in?
May
29
comment Using newest kernel version on an older system
I've had 3.2 running on Debian Squeeze (6.0) for a long time, and I just got the newest 3.4 longterm stable, and 3.9 stable working on an ancient athlon64 x2-4400. The only problem so far, one old PCI NIC driver segfaulted when the box tried to go into some sort of sleep mode. Other than that, no issues.
May
7
answered What considerations need to be made when choosing the version of kernel for an embedded device?
Jan
30
comment Find any lines exceeding a certain length
mawk runs the length function quite a bit faster than the gnu awk, might try that.
Jan
14
answered Using ramfs on embedded system
Jan
4
comment Xterm with Solarized only showing dark background without font colors
Interesting, but could you expand on what does it affect exactly?
Nov
9
comment Preserve scroll on Linux console switch
FreeBSD doesn't have this problem, each VT has it's own scrollback buffer I am guessing.
Nov
5
comment How many rings does OpenBSD use?
STOP used to have 3 rings, but I think the newest version was reduced to 2 for the sake of speed :(
Oct
12
comment How to use a custom crypto algorithm in ipsec?
First Law of Cryptography: Thou shall not roll your own crypto. Sorry, someone had to say it ;)
Oct
12
comment Fastest ssh X tunneling on a local secure network
Yup, this agrees with my findings: security.stackexchange.com/questions/12901/…
Sep
6
comment CentOS: Install packages listed in a text file?
This is much nicer, as it will look at all the dependencies at the same time, instead of figuring them out for every single package.
Sep
6
comment How to merge output of two running log files in real-time
multitail has few relevant flags: --mergeall, and -ts As for enforcing time coherence, I've done it once, but it had to be done by every log line having a timestamp, and then wrote an awk script to rearrange the entries to be sorted by time. That's nowhere near real-time. The lesson learned on that one was that the timestamps had to be generated by the program generating them, and not the logger program, as they tend to be heavily buffered, which demolishes any notion of decent timestamping.
Aug
17
awarded  Yearling
Jul
19
comment How to print only last column?
+1 for double rev, but as a side note, rev does not work with 'wide' characters, only single byte ones, as far as I know.
Jul
19
comment vi/vim, how can I write out a number of lines to a new file
Are the addresses inclusive or exclusive?
Jul
5
comment force re-negotiation of PCIe speed on Linux
In windows I've seen it change automatically, it's a function of pci-e bus power-saving. serverfault.com/questions/226319/what-does-pcie-aspm-do seems to have a nice explanation