9,686 reputation
923
bio website
location
age
visits member for 1 year, 11 months
seen 8 hours ago

10h
answered If statement question
11h
comment relation between chmod and sudo on an executable file
@Tim no and no. If a program doesn't have any executable bits (there are three - for the user, group and everybody else) even root can't run it. For the second question it's even more complex, but if you read the answer and the credentials man page again and think it through you'll find out why. At least point 4. of the answer should give you one reason why the answer is no.
1d
answered relation between chmod and sudo on an executable file
Jul
24
comment Is there a way to pass a variable from an awk statement to a bash function as an argument?
Well you can always pass the shell function $0 from awk as one of it's arguments, but it has to be properly quoted - which is exactly where it gets messy. The function exporting seems cleaner though.
Jul
24
comment How to run a specific program as root without a password prompt?
That's fine, but when it is not obvious (which in this case isn't at least to some people) it is good to put an explanation into the answer to provide some context and prevent people from blindly using magic incantations. +2 (-(-1) + +1). :)
Jul
24
revised How to run a specific program as root without a password prompt?
added explanation based on comment
Jul
22
awarded  Enlightened
Jul
22
awarded  Nice Answer
Jul
21
answered Reverse match in sed, replace opposite of what was found
Jul
21
comment Hardware configuration required for DNS server
One would almost say you probably can't buy hardware incapable of that - the one that is too slow is too expensive (since it is already in a museum).
Jul
21
comment Linux: $SSH_CONNECTION is set even without SSHing to the server
... or that a program involved in spawning the new terminals has the variable in its environment. For example because it was started from a (possibly a different) ssh session.
Jul
21
answered Is there a way to pass a variable from an awk statement to a bash function as an argument?
Jul
21
comment Is there a way to pass a variable from an awk statement to a bash function as an argument?
1) you might want to state expected output for your input. More importantly though: 2) put down the chocolate-covered banana and step away from the European currency systems - there might be a better way of doing what you need than calling sh from awk from sh, but you'll need to describe the problem more in-depth.
Jul
19
reviewed Approve suggested edit on Set Sound Settings to 152% on Boot (LMDE)
Jul
19
comment windows 7 reinstallation killed grub
Judging by the output of fdisk -l /dev/sda, your Linux partitions are gone. mount -t cifs doesn't make much sense, CIFS (a version of SMB) is a network file system used for accessing Microsoft shares.
Jul
19
reviewed Edit and Reopen windows 7 reinstallation killed grub
Jul
19
revised windows 7 reinstallation killed grub
formatting
Jul
19
comment Problem Windows 8.1 Ubuntu 14.04 dual boot
superuser SE might be a better place to ask about Windows dual booting.
Jul
19
reviewed Edit Problem Windows 8.1 Ubuntu 14.04 dual boot
Jul
19
revised Problem Windows 8.1 Ubuntu 14.04 dual boot
added 3 characters in body