Search Results

Search: Posts Made By: rbatte1
218
Posted By rbatte1
Along with the other questions:- Are you...
Along with the other questions:-


Are you logically looking to just add 4 to the server number, or do you need to work out the highest numbered server and count on from there?
Are these...
223
Posted By rbatte1
Your two parameters (which I have wrapped in...
Your two parameters (which I have wrapped in ICODE tags for you) appear to be the same to me. Notwithstanding, I'm wondering if the table column in question is a string or a date. The output of...
289
Posted By rbatte1
The problem is that your expression is matching...
The problem is that your expression is matching Listen followed by any number of spaces then 443. Your definition is explicit in being for 'any number of spaces' with the * sequence.

Do you...
Forum: Programming 1 Week Ago
317
Posted By rbatte1
Hello ramkrix, Following on from...
Hello ramkrix,

Following on from RavinderSingh13's request, the input you paste will also tell us how it is structured, e.g. is it tab seaparated, fixed-width or whatever.

Please paste the...
470
Posted By rbatte1
No, the feature is only available from the...
No, the feature is only available from the version in 7 so there is not package for version 6 to deliver it.



Robin
570
Posted By rbatte1
A clunky way:-grep -Ei "x.*\.com"...
A clunky way:-grep -Ei "x.*\.com" /path/to/dir/file.html | sort -u > /path/to/dir/file.txt

The expression looks for an x followed by any number of characters followed by .com however this is not...
470
Posted By rbatte1
You might have some success with the...
You might have some success with the following:-getent passwd $user_numberYou might need to process the output further, but it's a start.



Does that help,
Robin
470
Posted By rbatte1
This is a difference in the OS version. The RHEL...
This is a difference in the OS version. The RHEL 7 (or variant) manual pages will have something phrased like .....where RHEL 6 (or variant) does not. It is just not a valid input.





Kind...
386
Posted By rbatte1
Does the output from last show you who (and where...
Does the output from last show you who (and where from) people were logged in at that time? Look especially for lines that say down in them.

Does that help you?


It might help in future if...
359
Posted By rbatte1
If you are hitting memory limits, you could...
If you are hitting memory limits, you could almost go very old-school:-awk '/pattern/ { print $2 }' file1 | sort > $workdir/file1_col2
awk '/pattern/ { print $2 }' file2 | sort > $workdir/file2_col2...
Forum: What is on Your Mind? 1 Week Ago
587
Posted By rbatte1
Hello Neo and all, This is an excellent...
Hello Neo and all,

This is an excellent idea. I'm certainly not in the running and must apologise for having again been idle and returned to Emeritus status. I'm sure not to have surpassed by...
446
Posted By rbatte1
Welcome hkoshekay, I have a few to questions...
Welcome hkoshekay,

I have a few to questions pose in response first:-
Is this homework/assignment? There are specific forums for these.
What have you tried so far?
What output/errors do you...
746
Posted By rbatte1
So how would you normally connect to the...
So how would you normally connect to the super-secure server? Console only perhaps?

It may well be just best to have a scheduled job on the server that posts the information somewhere. This...
711
Posted By rbatte1
One wonders why if this is not homework. How...
One wonders why if this is not homework.

How about using what's already available and set the length like this:-#!/bin/bash

number_in=123
length=20 # Perhaps this is ridiculous,...
571
Posted By rbatte1
Incoming mail I presume as opposed to emptying...
Incoming mail I presume as opposed to emptying the outgoing queue? This seems a bit harsh, but on AIX I think you could search down /var/spool/mail and /usr/spool/mail for a file named for the user...
657
Posted By rbatte1
So, if you are certain that the MOUNTPOINT=" will...
So, if you are certain that the MOUNTPOINT=" will always be the last field, you could:-
List the filesystems
For each filesystem, get the data from file 1
For each filesystem, get the data from...
756
Posted By rbatte1
I see that you append the output to $logfile. ...
I see that you append the output to $logfile. Does it already exist when you run this?

Perhaps adding `date` to the Hi Hello echo statement might show you if this is from a previous run.

What...
Forum: What is on Your Mind? 10-30-2019
1,345
Posted By rbatte1
You are very welcome Dave. My...
You are very welcome Dave.

My congratulations for the confirmation and thanks for your wide and varied help over the years.





Robin
2,745
Posted By rbatte1
This appears to be a conflict between the server...
This appears to be a conflict between the server and the network switches all along. We have redefined them as LACP balanced connections and later the network team have done the same to the switch...
771
Posted By rbatte1
It is usually (but not always) better to keep to...
It is usually (but not always) better to keep to a single A record for an IP address with a matching PTR record so the IP address can be used to find out the host. Other things, such as service...
2,498
Posted By rbatte1
I'm a bit confused what you are trying to do with...
I'm a bit confused what you are trying to do with more Expected.del | cut -d, -f1 >> Original.out You might really want just cut -d, -f1 Expected.del >> Original.out

The more command is not the...
883
Posted By rbatte1
If you have them in a file, how about:-cut -f-3...
If you have them in a file, how about:-cut -f-3 -d"." input|sort|uniq -cWould that do? It's not quite the pretty output, but you get the detail you need.



I hope that this helps,
Robin
2,745
Posted By rbatte1
Creation was with nmcli yes, although I think we...
Creation was with nmcli yes, although I think we have Network Manager service turned off. The course I went on suggested it doesn't work :(

This might actually be a network team thing, as in the...
2,745
Posted By rbatte1
Changing single path NIC to a teamed connection in same subnet
Dear all,

I have a remote CentOS7 server that has two network cards. Each card has four ports and port one of card one was defined with the IP address assigned to the server. So far, so good and...
Forum: AIX 09-16-2019
6,578
Posted By rbatte1
Just a thought (and trying to avoid downtime) can...
Just a thought (and trying to avoid downtime) can you not add the new LUNs into the VG and then migrate them with the server still live? I've done this very successfully and prevented needless...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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