Search Results

Search: Posts Made By: zaxxon
Forum: What is on Your Mind? 06-16-2019
15,631
Posted By Neo
Looks like we have mostly recovered from the...
Looks like we have mostly recovered from the "getting crushed" situation, which I started working to remediate around a month ago:

https://www.unix.com/members/1-albums177-picture1215.png

Note:...
Forum: War Stories 10-04-2017
9,876
Posted By bakunin
It took me a while to find time to read it and...
It took me a while to find time to read it and build an educated opinion about it. What i find most interesting is this picture:



Here is a story which relates to this:

The current clinical...
2,830
Posted By bakunin
OK, so here we go again: We have already...
OK, so here we go again:

We have already established that there is always the problem that a user with sufficient privileges can undo what you do. This is especially true for the root user, who...
2,432
Posted By Scrutinizer
Since it is ksh code, if you put: #!/bin/ksh ...
Since it is ksh code, if you put:
#!/bin/ksh
At the very beginning of your script then it should run fine, provided that you make the script executable (chmod +x) and run it like /path/to/script,...
Forum: What is on Your Mind? 03-22-2017
1,152
Posted By drl
O'Reilly Site Lists 165 Things Every Programmer Should Know
Hi.

Interesting set of brief essays ... cheers, drl

Slashdot (http://m.slashdot.org/story/323865)

10% sample:

Code Is Design by Ryan Brush
Continuous Learning by Clint Shank
Do Lots of...
1,434
Posted By Don Cragun
You can tell us the code doesn't matter all you...
You can tell us the code doesn't matter all you want to. But we don't believe you. All three of your if statements above test whether or not the daily directory is there. Earlier posts had your...
Forum: What is on Your Mind? 03-05-2017
3,577
Posted By bakunin
A few observations about programming habits and...
A few observations about programming habits and programming in general:

I think the real difference between naive and non-naive (clever) programming is not so much to make (or make not) use of a...
10,122
Posted By MadeInGermany
A debugging tip. You can trace the sshd. #...
A debugging tip. You can trace the sshd.
# proctree | grep -w sshd
258180 /usr/sbin/sshd a
274564 sshd: root@pts/0 a Then trace the originator/listener i.e. pid 258180
# truss -f -p...
1,459
Posted By RudiC
I was about to ask the same as zaxxon did, as I'm...
I was about to ask the same as zaxxon did, as I'm surprised that none of the help given in the past seems to have fallen on fertile ground. Until a decent answer is posted, I'll withhold the "one...
1,839
Posted By Don Cragun
Hi zaxxon, Sorry, but the tr -s option is not a...
Hi zaxxon,
Sorry, but the tr -s option is not a substitute option; it is a request to squeeze repeated occurrences of a character in the output to a single occurrence.

Hi essay,
Try:
tr -c...
1,582
Posted By RudiC
You didn't mention the shell version you use....
You didn't mention the shell version you use. Recent shells (e.g. bash, ksh) offer redirection to a remote port:
Forum: AIX 07-31-2016
4,212
Posted By bakunin
It took some time to proove my point, but here it...
It took some time to proove my point, but here it is: this is what happened last week:

On Tuesday both of my HMCs were no longer getting a connection to any of the managed systems although both...
819
Posted By itkamaraj
we can skip the line using match ? import re...
we can skip the line using match ?

import re

f = open('infile', 'r')

lines = f.readlines()

for line in lines:
if re.match('^.*:(.*)].*$',line.rstrip()):
x =...
3,814
Posted By bakunin
OK, no problem, but why don't you, on the other...
OK, no problem, but why don't you, on the other hand, just trust Don Cragun that he knows what he talks about? If you just provide him with the necessary information he might just find out (and then...
874
Posted By bakunin
Sorry, but this code is as unreadable as probably...
Sorry, but this code is as unreadable as probably possible. You might want to start by bringing it into a form a human can actually understand.
...
Forum: AIX 08-12-2016
5,334
Posted By -=XrAy=-
Hi zaxxo, - this is one big LACP-Channel/SEA...
Hi zaxxo,

- this is one big LACP-Channel/SEA for all VLANs
- this SEA must have an PVID which is not used in the real Network and will never called directly
- maybe this link...
1,457
Posted By Don Cragun
With over three hundred posts to your credit, we...
With over three hundred posts to your credit, we would hope that you would have a good idea by now on how to do something like this. What have you tried to solve this problem?

What operating...
Forum: What is on Your Mind? 07-22-2016
2,121
Posted By RavinderSingh13
Congratulations Scrutinizer for completing 3000 THANKS in the forum.
Hello Scrutinizer (https://www.unix.com/members/302052697.html),

Many Many Many heartily congratulations :b: to you sir(my/our HERO) to complete 3000 THANKS into the forum :b:. This shows how good...
3,984
Posted By Don Cragun
By definition, text files meet all of the...
By definition, text files meet all of the following requirements:

the file does not contain any NUL characters,
every line in the file is terminated by a <newline> character, and
no line in...
2,425
Posted By Lord Spectre
RedHat eth interfaces not seem to be present
Dear community,
I'm in trouble with Red Hat Server 5.8. After rebooting the server, I loose two interfaces used for bond2 (eth4 and eth5). I reboot twice the server but the result is always:
#...
Forum: Programming 07-01-2016
7,977
Posted By jim mcnamara
There are two basic sets of pattern matching:...
There are two basic sets of pattern matching: files and strings

fnmatch() is used to match wildcards like ? and * in file name patterns.
regcomp(), regexec(), regfree() are called in that order...
Forum: AIX 02-03-2016
9,478
Posted By -=XrAy=-
Hi, i guess the size of the disk has changed...
Hi,

i guess the size of the disk has changed in the past and the LVM is currently not aware of this.

man chvg


-g
Will examine all the disks in the volume group to see if...
3,502
Posted By Don Cragun
The crontab entry: */5 7-11 * * * my-command ...
The crontab entry:
*/5 7-11 * * * my-command
along with a second line:
0-30/5 11 * * * my-command
would run my-command twice about every five minutes from 11:00 through 11:30, and run it at...
6,579
Posted By Don Cragun
Since you have been out for a while, maybe you...
Since you have been out for a while, maybe you should review the rules you agreed to when you joined the UNIX & Linux Forums. They can be found here (https://www.unix.com/misc.php?do=cfrules). ...
6,579
Posted By sea
Why would one to repeat oneself if its already...
Why would one to repeat oneself if its already been said?
Sometimes people (me included) are too focused on the words (or specific tools, your case) they have in their mind, rather than the...
Showing results 1 to 25 of 116

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