Search Results

Search: Posts Made By: rbatte1
376
Posted By rbatte1
You probably need to add a search record in your...
You probably need to add a search record in your resolv.conf file. The manual page has the appropriate syntax. You can add multiple suffixes if you need to. Do you have a selection you would want...
300
Posted By rbatte1
Welcome Srikavya_manda, I have a few to...
Welcome Srikavya_manda,

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...
210
Posted By rbatte1
Can you show us how you tried to redirect the...
Can you show us how you tried to redirect the output?

Please wrap your commands and the output in CODE tags. To do this, you can simply highlight your text that is code or data and then click on...
210
Posted By rbatte1
It might be that you are not getting output but...
It might be that you are not getting output but actually it is errors being displayed. Standard output (good things you want to see) are written to file descriptor 1. Standard errors (bad things...
425
Posted By rbatte1
Hello ctrld, I have a few to questions pose...
Hello ctrld,

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?...
480
Posted By rbatte1
Perhaps the SPOOL command will only write to a...
Perhaps the SPOOL command will only write to a new file and refuse to append or overwrite an existing one.

Do you get any messages if you remove the SET FEEDBACK OFF and try it again with the file...
514
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?...
626
Posted By rbatte1
The privilege you have permits you to become the...
The privilege you have permits you to become the superuser, but not to directly run anything from your account but as the superuser.

If you can become the superuser, then I presume you are the...
538
Posted By rbatte1
Hello pranabpal, It would have been better...
Hello pranabpal,

It would have been better to show what you had tried so we can see your preferred style/tools etc. That way we would find a solution that you could understand better when you...
633
Posted By rbatte1
Hello mrAibo, You might get some joy from...
Hello mrAibo,

You might get some joy from the output of the stat command. The file is Modified as it is created and Changed as the content is written, however this might not be safe for a polling...
933
Posted By rbatte1
I defer to your superior offering (and I will...
I defer to your superior offering (and I will steal it if I ever have a similar need ;))



Kindest regards,
Robin
933
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...
679
Posted By rbatte1
What do these give you?grep -n '' file1 | head ...
What do these give you?grep -n '' file1 | head
grep -n '' file2 | headI agree that this is most likely peculiar characters in the data. To see if we can spot something, can you:head file1 | od -tx...
1,029
Posted By rbatte1
I would think that you are spending a lot of time...
I would think that you are spending a lot of time in your loop repeatedly opening the database connection. Could you build all the queries into a single command file and execute one DB read? The...
723
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...
Forum: AIX 01-06-2020
1,630
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...
865
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...
696
Posted By rbatte1
Have you added this account to /etc/ftpusers by...
Have you added this account to /etc/ftpusers by any chance? Confusingly that is a list of users NOT permitted to login with ftp.

Another thought is that the account might be locked. Do you get...
1,054
Posted By rbatte1
Would changing echo to printf work?printf "$str1"...
Would changing echo to printf work?printf "$str1" > text.txt



Robin
1,335
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,073
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,335
Posted By rbatte1
I'm gald this got you moving again. You should...
I'm gald this got you moving again. You should really test this hard too and work out how to handle errors in creating the file that might mean you:-
have multiple lines
have multiple values on...
775
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...
775
Posted By rbatte1
Hello dineshkumarsrk, A few general comments...
Hello dineshkumarsrk,

A few general comments first:-

Your for loop has an extra * which might be confusing when you read this later on.
It would be better to use longer variable names to...
1,335
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 )
...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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