Search Results

Search: Posts Made By: rbatte1
120
Posted By rbatte1
The need to create such an oddly named file is a...
The need to create such an oddly named file is a little concerning. You would later on have to read it in a similarly convoluted way and your backup process may not like it either.

Can you...
93
Posted By rbatte1
Welcome BeckyMoore, When you say that you...
Welcome BeckyMoore,

When you say that you want to download an image, it's really rather vague. For the image, do you mean:-
A visible picture on a website
A software installer image
The...
492
Posted By rbatte1
If it's not a big file, you can get a simple to...
If it's not a big file, you can get a simple to understand but clunky way by using the output of grep -n "start" $filename and grep -n "end" $filename to get you the record numbers to search between...
451
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...
356
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...
3,402
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...
213
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...
213
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...
488
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?...
547
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...
574
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?...
692
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...
606
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...
657
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...
996
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
996
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...
697
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,051
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...
729
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,694
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...
880
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...
705
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,124
Posted By rbatte1
Would changing echo to printf work?printf "$str1"...
Would changing echo to printf work?printf "$str1" > text.txt



Robin
1,349
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,081
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...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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