Reputation
34,462
Next tag badge:
114/100 score
19/20 answers
Badges
15 109 157
Newest
 Guru
Impact
~2.0m people reached

8h
comment Why I should avoid loops in shells?
@StevenPenny I think he's giving an example of a case where processing a list of files the way you did would result in problems
1d
comment How do I know which version of Debian I'm running?
@IQAndreas I don't use Debian, but based on wiki.debian.org/DebianSqueeze and wiki.debian.org/DebianWheezy it sure seems like they're in sync. I reopened it since your question is maybe slightly different, but the only different part is "which Debian version is Squeeze and which is Wheezy", which seems pretty easy to resolve unless I'm misunderstanding something
Apr
13
comment Tried to replace Ubuntu with Elementary and lost GRUB
I would think restoring GRUB as the bootloader would fix it, so it seems on-topic to me
Apr
11
comment How can I consistently tell OpenSUSE to refresh the clock / current time?
How is syncing the time distro-specific? It has nothing to do with your distro
Apr
3
comment Difference Between cp -r and cp -R (copy command)
I don't see this on CentOS 5; -r and -R both copy hidden directories
Apr
2
comment Saving output of mplayer
@nwildner It sure seems to. mplayer and mencoder are part of the same toolkit, and the question even says "Any alternative command-line solution is welcome too, I am not tied to mplayer."
Apr
2
comment lsof: no pwd entry for UID
@Tom That's not what I get on Linux; I don't have a Solaris box to test on. Can you just ps aux and grep that?
Apr
2
comment lsof: no pwd entry for UID
@Tom ps -U 105 and ps -u 105 for UID and EUID, respectively
Mar
25
comment Protection from malware on a Linux “desktop”
There are tons; at the moment this question is basically answered by googling "linux antivirus". If you have a specific problem that's something we can help with, but "how can I prevent all malware" is too broad
Mar
20
comment Are External API's secure?
Programming questions aren't on-topic here, and I'm not really even sure what you're asking
Mar
19
comment How to create a script that can't be easily exited
Do you want to prevent interrupts from killing a script, or do you want to prevent users from canceling the update? The latter is more general and has simpler solutions, so you're going to end up getting answers for that even if you asked for the former
Mar
10
comment SUID accidently removed from /bin/su file
You can't just make your own copy of su and expect it to work; that'd be pretty alarming if you could. The standard su is owned by root and setuid so it runs as root
Feb
18
comment Passing named arguments to shell scripts
This doesn't work with the syntax the OP specified; they want -a 1 -b mitsos -c karamitsos
Feb
16
comment Redirecting stdout to a file you don't have write permission on
@k961 I used chown to change the owner; it was just an example
Feb
12
comment Why is this Python package trying to use a non-existent gcc?
@DevNull How is this a question? It seems like it would work fine, albeit a bit hacky
Feb
11
comment “Script” command for two terminals
It sounds to me like the OP is talking about how to use the script command, but it's unclear
Feb
6
comment How to set environment variable for BACI compiler and interpreter?
Well, I'm not sure what the problem is, but I reopened the question. Might want to add an error message or something
Feb
6
comment How to set environment variable for BACI compiler and interpreter?
Are you just running bacc? Don't do ./bacc, that's telling it to look for bacc in the current directory. If you run bacc by itself it will search your path in order
Feb
6
comment How to set environment variable for BACI compiler and interpreter?
You put them on your path, that's how it works. Run which java in your terminal and you'll get the absolute path. Then run echo $PATH and you'll see a colon-delimited set of paths, which will include the directory java is in. Any executable in any of those directories will be runnable just using its name
Feb
5
comment How to set environment variable for BACI compiler and interpreter?
This seems like a duplicate to me; maybe I don't understand. If you add the program folder to your path, you can run bacc and bainterp without needing to provide the full path or switching to the directory to run them as relative paths