11,277 reputation
1128
bio website
location
age
visits member for 2 years, 1 month
seen 14 hours ago

1d
revised why are /media and /home /mnt/home so large?
edited body
1d
comment How to insert the entry into the newline?
If you want precise positioning (the same character columnts), it won't be a tab delimited data anymore. What output do you expect for input lines of varying length (1 or 3+ digits per number)?
1d
revised How to insert the entry into the newline?
added 10 characters in body
1d
comment Old script on systemV
I'm not really sure what your script is supposed to do, but for starters: 1) it definitely doesn't add groups anywhere, 2) has a hanging else on 3rd line from the end, 3) doesn't define groupscheck (which I don't think is a standard tool), 4) doesn't call /sbin/shutdown anywhere - so it probably actually is /sbin/shutdown, but incomplete (which is likely since it didn't complain about the superfluous else, and is missing the usual #! at the beginning). How would you expect anybody to help you with that?
2d
revised Print pids and names of processes as they are created
added 34 characters in body
2d
comment Print pids and names of processes as they are created
@syntaxerror DBus is far from system's inner working in this case - it's actually about two levels above what is being discussed here.
2d
answered Print pids and names of processes as they are created
Oct
22
revised Copy files without encryption (ssh) in local network
added 169 characters in body
Oct
22
comment Copy files without encryption (ssh) in local network
Very good point!
Oct
21
revised Copy files without encryption (ssh) in local network
added 227 characters in body
Oct
21
answered Copy files without encryption (ssh) in local network
Oct
21
comment Copy files without encryption (ssh) in local network
I wouldn't really call blowfish a weak cipher an in general case (i.e. not R-Pi) AEs might be boosted by hw acceleration.
Oct
20
comment Cross compiling libSDL
You are right it is not answer to the questions: Are these options required? If not, is it a good idea to use them? Rather it is an explanation of what the options do (especially since you are compiling a library but mentioning --build which is really used only for the toolchain).
Oct
20
reviewed Leave Open grep command to display only the two words searched for separated by a comma?
Oct
19
comment Integrate my own PAM module with the passwd command
I'm afraid you'll have to keep that information stored somewhere independently (a good place for this sort of information is in /var or /run), always load your module and then check whether it should just fall through or actually do its stuff.
Oct
19
comment Where can I put settings that are run with root and last from start of OS till it shuts down?
Suspend systems usually have hooks where you can attach whatever you like - check documentation from your suspend system (probably pm-utils?).
Oct
18
comment Append to PATH-like variable without creating leading colon if unset
@mikeserv actually I think the quotes are only necessary around the newly added value - the extant variables are expanded in a way that special characters are preserved, aren't they?
Oct
18
comment Possible not restore cpu frequency after suspending and waking up?
"When I suspend and wake ... frequency ... will be restored." To me that is the exact opposite of what you are describing. And yes, the frequency not being restored sounds like a bug.
Oct
18
comment Append to PATH-like variable without creating leading colon if unset
@scottbb Thinking of it it really is the same. But I'm afraid you won't get it any better, since you basically need the variable name in the condition and then in the expansion - I don't think there is a shell construct that would do that with just one occurrence of the name.
Oct
18
comment Possible not restore cpu frequency after suspending and waking up?
OK, but then you probably want to move the "not" from "not restore" in the third sentence to "will be restored" in the first.