Reputation
2,439
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 9 14
Newest
 Yearling
Impact
~71k people reached

  • 0 posts edited
  • 0 helpful flags
  • 76 votes cast
Aug
31
revised Giving a user access to the webcam
say the user will not log in, add consolekit
Aug
31
asked Giving a user access to the webcam
Aug
23
accepted How to do nothing forever in an elegant way?
Aug
23
comment How to do nothing forever in an elegant way?
I'm saying that with zsh you can just do read | program > output and it works in the same way as what you suggested. (And I don't get why.)
Aug
23
comment How to do nothing forever in an elegant way?
very interesting, thanks!
Aug
14
comment How to do nothing forever in an elegant way?
That seems to work and looks like a great idea! (To be fair, I had asked for something to pipe to my command, not for a shell feature, but this was just the XY problem at play.) I'm considering accepting this answer instead of @P.T.'s one.
Aug
14
comment How to do nothing forever in an elegant way?
sure, I understand what read does. What I don't understand is why reading from the terminal with read in a backgrounded process is blocking with bash but not with zsh.
Aug
11
comment How to do nothing forever in an elegant way?
Very nice! In fact my tests you don't need the x with bash; further with zsh you can just do read and it works (though I don't understand why!). Is this trick Linux-specific, or does it work on all *nix systems?
Jun
18
awarded  Yearling
Mar
11
comment How to create a user with limited RAM usage?
Note that to make this work, on Debian, you should run cgconfigparser -l /etc/cgconfig.conf and start the daemon cgrulesengd.
Mar
11
awarded  Autobiographer
Feb
4
comment What packages are installed by default in Debian? Is there a term for that set? Why some of those packages are `automatically installed` and some not?
It looks like the aptitude commands may list multiple versions of the same package (i.e., the first one returns "gcc-4.7-base" "gcc-4.8-base" "gcc-4.9-base"). Is there a way to filter the output and keep only the latest versions?
Jan
25
awarded  Good Question
Oct
15
comment Get diff changes between original files installed with apt and current files
@Mxx: thanks, adding a check for this package, although starting with Debian jessie it seems that coreutils is providing a `realpath' command.
Sep
26
comment Why did powering down my machine after a bad `rm` save my files?
@Patrick: OK, so then I guess that the write cache must guarantee that both the journal and disk are committed roughly at the same time, so the disk cannot end up in an inconsistent state? Does it have some notion of pages that need to be flushed simultaneously, or pages that need to be flushed in a precise order?
Sep
25
awarded  Good Question
Sep
24
awarded  Popular Question
Sep
24
revised Why did powering down my machine after a bad `rm` save my files?
typos and rephrasing
Sep
24
comment Why did powering down my machine after a bad `rm` save my files?
Thanks for this answer! However, I do not understand this: as for this "sync" that is mentioned in commit=nrsec, is it something that would take place after the kernel has decided to flush changes from memory to disk? Or does setting commit=1 guarantee that all changes will be flushed after 1 second regardless of the dirty_expire_centisecs and dirty_writeback_centisecs settings?
Sep
24
awarded  Nice Question