Search Results

Search: Posts Made By: otheus
12,248
Posted By otheus
So, just upgrade to latest coreutils version. ...
So, just upgrade to latest coreutils version.

What -n r/K/N does is print every K/Nth line. If K = 1 and N =2, you the first line, then every 2nd line after to the end of the stream. With K = 1...
1,756
Posted By otheus
Alas, sort doesn't know how to skip lines. You...
Alas, sort doesn't know how to skip lines. You must extract the first line separately, then sort the rest, then add it back later:

{ head -1 file.txt ; tail +2 file.txt | sort -u ; } >file1.txt
...
14,974
Posted By otheus
This question is too vague (I don't think Jim...
This question is too vague (I don't think Jim interpreted it correctly). Perhaps you mean "which users are allowed to execute what commands" in a sudoers file? If that is indeed the question, the...
21,208
Posted By otheus
You're confounding NIS with NFS. The former...
You're confounding NIS with NFS. The former allows hosts to share information services such as the user database and hostnames. The latter allows home directories to be shared (for instance).

The...
178,581
Posted By otheus
Quite happy with BASH, although I haven't used...
Quite happy with BASH, although I haven't used KSH since the mid-90's. The main thing missing from BASH is KSH's !(...) file glob feature. A friend recently showed me zsh, and it's come a long way in...
12,360
Posted By otheus
The two most common problems in this situation...
The two most common problems in this situation are:
1. Dependency on an unreachable network resource, ie, NFS, NIS, LDAP
2. Bad disk

Per the previous post, boot into "single user mode". This...
119,589
Posted By otheus
I recently ran into this problem. The solution...
I recently ran into this problem. The solution offered here (and elswhere on the Internet) insufficiently failed to answer it. I had to dig deep to find it.

Depending on the precise server...
9,643
Posted By otheus
Might be simpler to let awk do the calculation,...
Might be simpler to let awk do the calculation, and let the script's input parameters be used in the normal sense.
This code looks longer, because I added lots of checking, but the functional part...
9,919
Posted By otheus
gull04 and jlliagre are most probably correct. If...
gull04 and jlliagre are most probably correct. If you need a place to store stuff, here's what you can do in the mean-time:

Check the diskspace of /tmp and /var/tmp. Use df:

df /tmp /var/tmp
...
8,747
Posted By otheus
Remove this servers' IP addresses from...
Remove this servers' IP addresses from resolv.conf, and further, stop and disable the named service on it. After this, your host will use only the master and slave DNS servers and so should always be...
2,319
Posted By otheus
I highly recommend the pdsh tools ...
I highly recommend the pdsh tools (http://sourceforge.net/projects/pdsh/)which greatly facilitates this kind of thing. I really think this will solve most of your problems.

Anyway, the main...
5,691
Posted By otheus
From 25+ years experience: The price you pay for...
From 25+ years experience: The price you pay for software seems to have absolutely no relation at all in relation to the end-user experience (usability + support).

When it comes to anti-virus...
5,691
Posted By otheus
clamAV is open source
clamAV is open source
6,171
Posted By otheus
Just need a little more info... what shell-tool...
Just need a little more info... what shell-tool or programming language are you intending to use for this?
Forum: High Performance Computing 05-21-2012
8,098
Posted By otheus
"Understanding" isn't so important. At the end of...
"Understanding" isn't so important. At the end of the results, there is a number labeled "GLOPS". It looks like this:

WR00L2C2 8192 16 1 1 327.60 1.119e+00
...
Forum: High Performance Computing 05-19-2012
8,098
Posted By otheus
the standard measuring tool is HPL which solves...
the standard measuring tool is HPL which solves for a very large multidimensional array. Prepackaged rpms might be found in the Rocks distribution. The answer is yes to each of your other questions
19,334
Posted By otheus
What do you want to do with the very long SQL...
What do you want to do with the very long SQL statements? Do you want to indent them on second/third lines?

BTW: This is what perl was designed for:

#!/usr/bin/perl
format =
@###### ...
19,334
Posted By otheus
I think my answer is correct but you have the...
I think my answer is correct but you have the files on the command line in the wrong order.

awk 'NR==FNR{A[$1]=$2;next} A[$1]{$5=A[$1];print}' file1 file2
Forum: Ubuntu 05-16-2012
2,957
Posted By otheus
Several ways to do this, depending really on what...
Several ways to do this, depending really on what you need and which postfix server you are using. Can you provide more info? Will the server be deliverying "Regular" mail into a Mailbox as well as...
3,913
Posted By otheus
cat /etc/issue
cat /etc/issue
9,534
Posted By otheus
Indeed, I see the same problem on our system. ...
Indeed, I see the same problem on our system.

---------- Post updated at 01:56 PM ---------- Previous update was at 01:51 PM ----------

Ah, it's a read-only value in the driver source. This...
41,824
Posted By otheus
1. Depends on what the operating characteristics...
1. Depends on what the operating characteristics of the program. Drop a stop/start script in cron.daily/ and go from there.

2. Again, how do you characterize when it is hung? That is, what...
10,011
Posted By otheus
code explained
awk '
{
x[$1]=x[$1] " " $2; # Append 2nd field to contents of x[$1] (followed by a space)
y[$2]=y[$2] " " $1; # Append 1st field to contents of y[$1] (followed by a space)
}
# Now:...
3,303
Posted By otheus
Use the ldap client command to bind as a user. If...
Use the ldap client command to bind as a user. If the command fails, you should
get nonzero exit code. If it succeeds, you should get
a zero exit code. If you can confirm this, you just
put the...
4,045
Posted By otheus
Well, I suppose this depends on which subset of...
Well, I suppose this depends on which subset of the regular expressions the extension writer decided to use. The ones used by PHP vary, and the ones used by MySQL are POSIX compliant. So we'll try a...
Showing results 1 to 25 of 48

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