Search Results

Search: Posts Made By: rbatte1
Forum: Programming 21 Hours Ago
94
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...
273
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
391
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...
273
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
273
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...
214
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...
178
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? 3 Days Ago
361
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...
261
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...
549
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...
520
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,...
397
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...
491
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...
637
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,130
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,496
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...
735
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,304
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...
844
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,496
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,496
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,267
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...
8
330
Posted By rbatte1
So, can you show us the output that you are...
So, can you show us the output that you are getting? I'm wondering if you are being prompted for the SSH key passphrase as opposed to the remote user password.

A simple test would be something...
1,289
Posted By rbatte1
Hello userguy I don't see an attachment. ...
Hello userguy

I don't see an attachment. Can you paste it in CODE tags perhaps?




Thanks, in advance,
Robin
Forum: AIX 09-11-2019
3,855
Posted By rbatte1
I would suggest mirroring your loglv00 now too. ...
I would suggest mirroring your loglv00 now too.


Kind regards,
Robin
Showing results 1 to 25 of 500

 

Featured Tech Videos

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