« first day (1951 days earlier)      last day (3010 days later) » 

user149342
12:49 AM
@Gilles Point understood. I'll be more critical in next edits. Thanks.
 
1:33 AM
@Gilles: As POSIX specified, word in "${var#word}" wasn't subjected to filename expansion and fields splitting pubs.opengroup.org/onlinepubs/9699919799/utilities/…
 
 
7 hours later…
8:46 AM
@Gilles: Ah right, I was wrong, the quote is needed unix.stackexchange.com/posts/261295/revisions
 
 
10 hours later…
ppr
6:48 PM
0
Q: Suspend isn't working anymore after upgrade to xubuntu 15.10

pprSuspend doesn't halt my old computer (DELL Precision T7400) since I updated to xubuntu 15.10. I have a black screen after suspending but the computer is still working (fan, led, ...) I suspect systemd to mess up with pm-suspend. I tried to suspend in different ways: pm-suspend xfce4-session...

 
 
1 hour later…
8:15 PM
How would I test/demonstrate that sudo -H sets $HOME to my own home directory? (vs /root)
sudo -H echo $HOME doesn't work because the shell expands $HOME before execution..
 
@Seth Put it in a script?
 
hmm, that might work.
 
Doesn't work here: sudo -H ./foo.sh
/root
 
yeah, that's what I'm finding out :)
I guess I misunderstood the manpage.
 
That's actually working as intended, I think.
I mean, this might be default behavior.
 
8:21 PM
ooh, looks like sudo -H env | grep HOME works.
@FaheemMitha yeah.
 
@Seth sudo -H sh -c 'echo $HOME' or sudo -H env | grep \^HOME
 
I completely misunderstood that section of the manpage apparently.
@Gilles thanks!
 
@Seth it's the opposite: -H sets HOME to the target user's home directory
 
3 mins ago, by Seth
yeah, that's what I'm finding out :)
 
@Gilles It also appears to be the default. Though the man page does not say so.
 
8:27 PM
@FaheemMitha depends on the compile-time configuration IIRC
 
@Gilles Well, I just meant the Debian version on jessie.
 

« first day (1951 days earlier)      last day (3010 days later) »