Search Results

Search: Posts Made By: Azhrei
Forum: Programming 12-26-2009
31,428
Posted By Azhrei
Beggars can't be choosers. ;) I'm not sure I...
Beggars can't be choosers. ;)

I'm not sure I would go with the fcntl.h interface, though. IIRC, ownership is based on PIDs, not TIDs, and although POSIX 1003.1d (previously 1003.4) changed that...
Forum: OS X (Apple) 12-25-2009
4,604
Posted By Azhrei
It violates the licensing to install Mac OS X on...
It violates the licensing to install Mac OS X on non-Apple hardware, IIRC.

However, on my MacBook Pro I have installed Leopard on an external (firewire) drive without any problem. Probably...
Forum: Programming 12-24-2009
31,428
Posted By Azhrei
Thread synchronization is a big topic due to the...
Thread synchronization is a big topic due to the various complexities involved. I agree with rr about where to look first. If you're coding on Linux, there is also the futex library which is worth...
Forum: Filesystems, Disks and Memory 12-07-2009
4,522
Posted By Azhrei
From an engineering standpoint, yes. It would...
From an engineering standpoint, yes. It would have to.

Most of the MTBF rates are based on some standard percentage of use, such as 30%. If you are keeping the drive busier than that, then you...
Forum: Solaris 12-04-2009
18,114
Posted By Azhrei
Nah, you're right. I didn't even notice this was...
Nah, you're right. I didn't even notice this was the Solaris group. Sorry for the noise! :)
Forum: Solaris 12-04-2009
18,114
Posted By Azhrei
That depends. The Vixie Cron (written by Paul...
That depends. The Vixie Cron (written by Paul Vixie) on Linux systems does support an extension that uses the slash to indicate an interval.
2,892
Posted By Azhrei
Use output redirection. If the input becomes...
Use output redirection.

If the input becomes large that may become slow. If so, post again here and we can talk about using sed, awk, or perl to accomplish this instead. (All three can do it and...
8,673
Posted By Azhrei
You first have to install the accounting package....
You first have to install the accounting package. You don't say which OS you're running, but I'll assume RedHat/CentOS. The RPM for that is sysstat. You'll need to read the documentation for it --...
8,673
Posted By Azhrei
The mDNS package (multicastDNS) thinks you're...
The mDNS package (multicastDNS) thinks you're disconnecting from the network and reconnecting again. If the rest of the your network services disappear for a short time as well, then you may have an...
23,231
Posted By Azhrei
Unless you have an unusual environment, you can...
Unless you have an unusual environment, you can put "#!/bin/bash" (or some other full pathname to a shell) and then use that shell to write your scripts. It doesn't matter which shell the users log...
23,231
Posted By Azhrei
Yep, you're right. :b: I had a senior moment. ...
Yep, you're right. :b: I had a senior moment. (I thought there were vertical bars between each set of brackets.)
23,231
Posted By Azhrei
Thanks for replying and including the solution...
Thanks for replying and including the solution you ended up using. :)

Btw, that looks like C shell code due to the redirection syntax. You really don't want to use the C shell for any kind of...
23,231
Posted By Azhrei
Why did you choose to use the @() extended...
Why did you choose to use the @() extended wildcard? That's not what the OP was asking for. In keeping with his (preferred?) formatting and structure:
if ls *.[Ll][Aa][Ss] >/dev/null 2>&1; then
...
12,894
Posted By Azhrei
Yep, exactly. And numbers 4 and 5 were the...
Yep, exactly. And numbers 4 and 5 were the deciding factors for me to stop providing any help.
12,894
Posted By Azhrei
If he doesn't know where to get the information,...
If he doesn't know where to get the information, he also won't have the authority to fix it. So it's probably moot. Time for him to call his sys admin support center.
12,894
Posted By Azhrei
Hmm. The "Not owner" message makes me think that...
Hmm. The "Not owner" message makes me think that the SSH server couldn't change the ownership of the pseudo-terminal to be the name you specified. Usually that means the user doesn't exist or the...
3,052
Posted By Azhrei
You don't say what operating system or shell this...
You don't say what operating system or shell this is using. I'm going to guess some distro of Linux and the Bash shell...


Check the filenames that your wildcard expands to. It's likely there's...
Forum: Fedora 09-03-2009
3,056
Posted By Azhrei
Not enough information. What OS are you using,...
Not enough information. What OS are you using, what version of the cron daemon, what shows up in the cron log when a command fails, and so on...
4,102
Posted By Azhrei
Actually, it can be done, but it's a bit ugly. ...
Actually, it can be done, but it's a bit ugly.

The problem is that when you run the job in the background, it's the background shell that creates fd4 and the parent (your command line shell) will...
8,312
Posted By Azhrei
Go back and read (both of) my posts again. You...
Go back and read (both of) my posts again. You didn't follow directions. ;)
44,232
Posted By Azhrei
Hey, that is pretty cool. :) One more reason to...
Hey, that is pretty cool. :) One more reason to put Ruby on my list of languages to play around with...
8,312
Posted By Azhrei
Yep, if those are non-printing characters or...
Yep, if those are non-printing characters or escape sequences. Use the technique I listed above to enclose the Reverse and Normal strings and things should be fine. If not, post back here again.
44,232
Posted By Azhrei
No loops are needed: my @a1, @a2, %diff1,...
No loops are needed:
my @a1, @a2, %diff1, %diff2;
@a1 = (1, 5, 10, 15);
@a2 = (5, 15, 25);

@diff1{ @a1 } = @a1;
delete @diff1{ @a2 };
# %diff1 contains elements from '@a1' that are not in...
8,312
Posted By Azhrei
Those settings look fine, but you didn't answer...
Those settings look fine, but you didn't answer the question about your Bash prompt.

The Bash prompt requires \[ and \] around any non-printing sequence inside the prompt in order for Bash to...
8,509
Posted By Azhrei
Doesn't work on Mac OS 10.4.11, but strings found...
Doesn't work on Mac OS 10.4.11, but strings found version 20040207; probably the BSD version on my machine and you've got the GNU version. I wonder if that's a significant factor? I'd be willing to...
Showing results 1 to 25 of 31

 
All times are GMT -4. The time now is 10:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy