Reputation
3,038
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
5 26 62
Impact
~241k people reached

Aug
13
reviewed Approve How to use the “source” command to run commands simultaneously?
Aug
13
reviewed Approve What's the meaning of a dot before a command in shell?
Jul
20
comment How to disable auto suspend when I close laptop lid?
The explanation for my case was that when Xfce is started by an xdm, it has enough permissions to control and override the corresposponiding settings (and if it is started with startx, then it doesn't have enough permissions). To have a uniform behavior across all linux consoles, I simply did apt-get remove xfce4-power-manager
Jul
19
comment How to disable auto suspend when I close laptop lid?
Thanks, this helps! Only editing logind.conf has effect for all linux consoles except the one where an X session with Xfce has been started by a DM (like xdm). (But if I do startx which starts a similar Xfce session, then the setting from logind.conf also take effect.) For example, by default, my system (with an ALTLinux distro) suspended on closing the lid. After I edited logind.conf, I made it hibernate. But only in the X session started by an xdm, the system still suspends when the lid is closed... In my case, I have to find out what gives this effect.
Jul
9
awarded  Notable Question
Jul
1
comment mounting dropbox (for exploring the files)
Now I learned that Dropbox-Uploader is in a package in ALT, my "home" distro.
Jun
29
awarded  Notable Question
Jun
4
reviewed Approve How can I make a script in /etc/init.d start at boot?
Jun
2
comment How to get the pid of the last executed command in shell script?
Another worthy solution is suggested in (a comment to an answer to) How to get pid of just started process: oh, and the "oneliner": /bin/sh -c 'echo $$>/tmp/my.pid && exec program args' & – sysfault Nov 24 '10 at 14:28
Jun
2
comment Get PID of a function executed in the background
This question is very similar to How to get the pid of the last executed command in shell script?. The only essential difference is that this questions is asking about a function. But, as it turns out, it doesn't make the answer different (the function is executed in a backgrounded subshell).
May
19
comment What is this folder /run/user/1000?
What if: I have started a "background" computation process with nohup, and it saves its intermediate results/data in a temp file. Can I count on it not being wiped while the process is running, or it will be wiped, and the process started with nohup will loose its data?
May
16
reviewed Approve Reinstall Arch Linux without losing downloaded packages
May
15
reviewed Approve How to automatically set permission at automount without mask
May
13
reviewed Reject Weird issue with unmet dependencies when cloning package states from earlier installation on same machine
May
6
reviewed Approve Connect iMac to NAS using Thunderbolt
May
6
revised command-line tool for a single download of a torrent (like wget or curl)
Addition about seeding in the background after the command finished.
May
6
reviewed Approve Replace screen process from within screen
May
6
reviewed Approve Multiple IP source on single interface in Linux
May
5
answered command-line tool for a single download of a torrent (like wget or curl)
May
5
asked command-line tool for a single download of a torrent (like wget or curl)