25,461 reputation
24585
bio website
location Virginia
age 32
visits member for 4 years, 4 months
seen 15 mins ago

6m
comment Script for “battery level reminder”
Take a look in /sys/class/power_supply/BAT0/. Or if you're running upower, then upower -i /org/freedesktop/UPower/devices/battery_BAT0
1d
comment Custom Kernel to Disable SATA and USB Devices
Hot glue will probably do wonders to the SATA ports (and any onboard USB ports). Easy alternative to desoldering.
1d
awarded  Nice Answer
Dec
16
comment Does one need access to the console to notice bash history was cleared?
@Dominique Please edit your question to make it clearer, then. A good start would be to put your real question in the title.
Dec
16
comment Does one need access to the console to notice bash history was cleared?
Would suggest asking them for a disk image. Or out of band console access.
Dec
15
comment GCC not compiling , even earlier successfully compiled codes
(a) Is this the GCC that came with Fedora, or did you grab a different one somewhere; (b) Does this happen even with a trivial program (e.g., int main() { return 0; }) fed to gcc -o test test.c with no additional command-line options?
Dec
12
comment If statement to compare files
FYI: Unix is, in general, case sensitive. The command can't be If, it must be if. Similarly, its cmp, not Cmp.
Dec
11
awarded  Necromancer
Dec
10
comment How to find which images belong to which /dev/loop?
@bos do you have it mapped under /dev/mapper? That probably counts as in use. Clear the device-mapper mappings. (if kpartx doesn't have a way to do that, you can use dmsetup)
Dec
9
revised How to find which images belong to which /dev/loop?
added 98 characters in body
Dec
9
answered How to find which images belong to which /dev/loop?
Dec
9
comment Is possible for a manufacturer to fake the RAM limit in the DMI table?
Your question appears to be more about PC hardware than Linux (the dmidecode command is just displaying data from the BIOS/firmware). You might find the broader community on Super User more knowledgeable about PC hardware questions; if you'd like your question moved there, please use the "flag" link below the tags to flag it for moderator attention, reason other, and ask for a move. [You may also want to search Super User first to see if your question is already answered there.]
Dec
9
reviewed Leave Open Is there a GUI debugger for shell scripts
Dec
9
reviewed Close what the best approach in order to compress directory with Hundreds of sub directories
Dec
9
comment what the best approach in order to compress directory with Hundreds of sub directories
possible duplicate of Which file compression software for linux offers the highest size reduction?
Dec
8
comment When is a symbolic link not acceptable?
Are you looking for examples where a program does it for no good reason, or are programs doing it for good reasons (not on your list) OK?
Dec
5
comment Send emails with a custom From: field
@forsberg Yeah, From header typically comes from the MUA, but then the address part can be changed with rewriting.
Dec
4
revised Why does my named pipe keep getting modified?
OP's C wouldn't even compile, presume it actually does.
Dec
4
comment Why does my named pipe keep getting modified?
I hate to edit code examples in questions... but I presume you actually have the required double-quotes (") in your C program? And the mode?
Dec
4
comment Quickly check whether many network hosts are up-and-running
arp just shows the kernel ARP cache. So it'll only show a machine if your machine has communicated with it recently.