3,270 reputation
518
bio website njsg.sdf-eu.org
location
age
visits member for 2 years, 2 months
seen 12 hours ago

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...).
Jul
12
comment Mount harddrive under different name?
I suppose Raspian is using some of these automagic automounters. I know nothing of these, the traditional way to mount things in Linux/UNIX is the mount command and I personally also use pmount for hotpluggable drives. If you want to keep using the automounter, perhaps it will use the LABEL of the filesystem if it is set. Try setting a label (tune2fs -L label for ext2/3/4).
Jul
12
comment Open xlsm file in linux?
The most 100% sure way if you have Windows and Office licenses would be to install Office and Windows in a virtual machine. Although, if it runs under Wine, that's more, well, close to $HOME. LibreOffice has a macro conversion engine, make sure that it is enabled. It won't catch everything, but may help.
Jul
12
comment Permission denied when Ubuntu is attempting to mount to a remote Windows share folder
Not being an Ubuntu user, and not having to deal with CIFS that often, I may be missing something obvious, but what user are you running mount as, and what are the permissions of /home/developer/ and of /home/developer/.smbcredentials?
Jul
12
revised Dual booting Scientific Linux 6 and 64 bit Windows 7
actually point hd0,1 as an example, given that, from the image, that is likely the case.
Jul
12
comment Dual booting Scientific Linux 6 and 64 bit Windows 7
Yes, you're right, I'd say it's likely (hd0,1).
Jun
22
comment Does sed write to the file or give a sample output
Just as a curiosity: the reason it does not change files by default is that it is a *s*tream *ed*itor :-)
Jun
22
comment Steam Launch Segfault on Arch (steam.sh line 704)
Can you get a backtrace? (Run trough gdb, then bt full and share the result, perhaps by adding it to the question) It would at least tell where is it crashing. Perhaps steam installs video driver-specific components on the first run? (After all, steam is a package manager.)
Jun
22
comment Steam Launch Segfault on Arch (steam.sh line 704)
Can you try running it with STEAM_RUNTIME=1 (so STEAM_RUNTIME=1 steam in bash-like shells)? It may not help, but this forces steam to use the builtin libraries instead of the system ones.
Jun
5
awarded  Enlightened
Jun
5
awarded  Nice Answer