Search Results

Search: Posts Made By: rbatte1
559
Posted By rbatte1
It's not a super clear question, but you might...
It's not a super clear question, but you might consider:-
If it's user login, these would be recorded in the system logs - look in /etc/syslog.conf or /etc/rsyslog.conf for the files you write to....
3,944
Posted By rbatte1
Hello rabrant, Sorry for the delayed...
Hello rabrant,

Sorry for the delayed response but I've been trying to think about this to find a good reason to do it. I would always recommend against it. It's not something I have done, and...
638
Posted By rbatte1
Dear faizlo, I have a few to questions pose...
Dear faizlo,

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 get?...
Forum: AIX 01-06-2020
2,690
Posted By rbatte1
It depends quite what you are looking for. Do...
It depends quite what you are looking for. Do any of these help (sorry but I no longer have access to AIX so I'm a bit rusty!)lspv
lspv -v
lspv -l
lsvpcfg # (possibly with a -l...
2,300
Posted By rbatte1
One line sed option
How about using a single line sed like this:-sed "s/^C\( CALL.*'\(Gmax\|Gmin\|HS10\|HS2\|HS9\|Hmax\)'.*\)/\1/" source_file_name > target_file_name

It's a little messy to read, so:-

The s...
1,209
Posted By rbatte1
I'd be very worried by this approach. You are...
I'd be very worried by this approach. You are inviting someone to put something dangerous in a file and mentioning that as a parameter and then you will call/run that unrestricted code to control...
860
Posted By rbatte1
This is telling you that the value for pday is...
This is telling you that the value for pday is not set or not an integer, so your command as a whole becomes invalid. Could you sh -xv rmAgingFile.sh file*.log 2 and review the output to see what is...
1,605
Posted By rbatte1
Yes, the value of outvar will just hold all the...
Yes, the value of outvar will just hold all the content of your file. You might prefer to process the variable or create another by reading the file in a different way. It's up to you, but you can...
1,239
Posted By rbatte1
I must admit, I like jim mcnamara's neat...
I must admit, I like jim mcnamara's neat response. It made me wonder about the string often all of the kinds of Norway as an example where the string might exist embedded in another word. Is this a...
1,605
Posted By rbatte1
The outvar=`cat test.out` is not great from a few...
The outvar=`cat test.out` is not great from a few things:-

The backticks ` are deprecated and can make complex statements difficult to read. You would be better to wrap such code with $( and )
...
978
Posted By rbatte1
Okay, I'm sure we can help with that. A few...
Okay, I'm sure we can help with that. A few questions for clarity though:-
Must the filename in the fastconcatg directory be the prefix of the directory that the source was found in?
What do we...
2,512
Posted By rbatte1
Why single quotes anyway? They stop...
Why single quotes anyway? They stop interpretation of the string quoted. If you want to pass something that changes, how about one of these:-ssh $i "systemctl is-enabled ${j}"; # No...
1,285
Posted By rbatte1
From my suggestion in post 5, I'm sure you can...
From my suggestion in post 5, I'm sure you can attempt to replace the sub-process on line 2 (the bit between $( and )) such that the output it creates uses a loop based on a counter to create the...
1,285
Posted By rbatte1
Do you want something more like:printf --...
Do you want something more like:printf -- "/path/to/xxx.py \\\\\n%s\n\t--ref /path/to/file \\\\\n\t--run /path/to/data\n" \ # Set up the output format with fixed strings and an...
2,280
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...
1,028
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...
1,280
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...
Forum: What is on Your Mind? 12-02-2019
2,950
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...
1,133
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
Forum: AIX 09-11-2019
7,738
Posted By rbatte1
I would suggest mirroring your loglv00 now too. ...
I would suggest mirroring your loglv00 now too.


Kind regards,
Robin
Forum: AIX 09-04-2019
7,738
Posted By rbatte1
My apologies for being away for a few days. ...
My apologies for being away for a few days. There should be no difference with the process because they will both do the same thing. If the lost LUN is now available and visible to the volume...
Forum: AIX 08-22-2019
7,738
Posted By rbatte1
You have lost access to a disk, hdisk37 How...
You have lost access to a disk, hdisk37

How is this provided? If it's a real disk, then it's broken. If it's SAN provided, then something has gone wrong in the provision.

If you can get the...
2,740
Posted By rbatte1
Could you just do this?:-tr "§" "|" < inputfile >...
Could you just do this?:-tr "§" "|" < inputfile > outputfile




I hope that this helps,
Robin
622
Posted By rbatte1
Rather that ps -ef | grep pmon | grep -v grep |...
Rather that ps -ef | grep pmon | grep -v grep | awk ...... might I suggest ps -ef | grep [p]mon | ....... instead. The square brackets are a pattern match that has only one option, but because there...
5,129
Posted By rbatte1
Great! Glad we could help. Kind...
Great! Glad we could help.



Kind regards,
Robin
Showing results 1 to 25 of 500

 

Featured Tech Videos

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