3,540 reputation
721
bio website iki.fi/njsg
location
age
visits member for 2 years, 10 months
seen Nov 21 at 10:50

Oct
21
awarded  Revival
Oct
11
comment Copy/paste does not always work from Firefox to terminal
This question and the comments there may be relevant: superuser.com/questions/140944/…
Aug
14
reviewed Approve suggested edit on fedora 20 gnome & ati card black screen after boot
Jul
23
revised Kill all process of users in Ubuntu?
tag as ubuntu
Jul
4
reviewed Approve suggested edit on Pxe Insallation
Jun
30
awarded  Enlightened
Jun
30
awarded  Nice Answer
Jun
22
reviewed Approve suggested edit on How to exit the script in ssh session?
May
24
awarded  Enlightened
May
24
awarded  Nice Answer
Mar
26
reviewed Approve suggested edit on Why is ntpd listening on most of 192.168.1.X/192.168.2.X
Feb
14
awarded  Nice Answer
Jan
31
comment Cannot connect to X server :0.0 as superuser
IIRC, xhost should be run from inside the X server as the user who is running the X session. Is that root as well?
Jan
28
awarded  Yearling
Jan
19
comment Using a generated list of filenames as argument list — with spaces
I guess you'd need to change what does the shell use as filename separators (for example, by playing with the value of IFS, one possible way is IFS=", newline, "). But is there a need to execute the script over all the filenames? If not, consider using find itself to execute the script for each file.
Dec
8
comment Prevent wildcard expansion on find
Ah, right, I missed that, sorry. As @alexis said, this largely depends on whether find supports it. And, from what @alexis said, it does not seem to. I'd indeed suggest alexis' sed idea.
Dec
8
revised Prevent wildcard expansion on find
clarify what does this actually do
Dec
8
comment How can I recall a numbered history command for edit?
Any arrow key or equivalent command (Ctrl-a for example) will stop the search leaving the current history entry in the command prompt, without executing it. This may or may not be enough, depending on what @Michael wants.
Dec
8
answered Prevent wildcard expansion on find
Oct
19
comment Could Autorun Virus, affect my PC via Wine?
The whole point of WINE is to offer an interface to the linux system, so I'd say that you should just treat infections as problematic as in Windows. I mean, aren't WINE applications able to access the filesystem? That means viruses could infect files outside of WINE, and effectively contribute to spreading the virus. If you want containment, use a virtual machine (and even then, you can't be 100% sure some virus won't try to exploit the VM...).