Search Results

Search: Posts Made By: blackrageous
5,432
Posted By blackrageous
This code seems to run ok...here's the output I...
This code seems to run ok...here's the output I get when run on my Linux system..


current wavelength is: 0.7
current radius is: 1.0
current lwp is: 39.999
pp_LWP_39.999_Re_1.0_wav_0.7.prp...
3,437
Posted By blackrageous
Your parameters seem to actually be $5 and $6. ...
Your parameters seem to actually be $5 and $6. You can do something like...

awk '{printf("%5s%10s\n",$5,$6)}' <filename>

or

awk '{printf("%-5s%10s\n",$5,$6)}' <filename>
9,444
Posted By blackrageous
Interesting. I was using the linux...egrep...
Interesting. I was using the linux...egrep (posix) and was just surprised when it didn't work.

--- Post updated at 19:21 ---

That seems to explain it. Thanks.
4,543
Posted By blackrageous
I recommend coming up with something you've tried...
I recommend coming up with something you've tried to move things along; otherwise, this seems a bit vague. For example, something like this....


find <particular-path> -name...
9,444
Posted By blackrageous
Regex issue with \s in character class.
Anybody have an explanation for why \s doesn't match ' ' in a character class? Here are 3 examples with the final example showing that \s in a character class (demonstrated by using egrep -o)...
16,578
Posted By blackrageous
I recommend a VM with either Windows or Linux as ...
I recommend a VM with either Windows or Linux as a host. This allows you to have access to both O/S 's (unlike dual booting).
4,311
Posted By blackrageous
ORACLE_SID is an environment var (site...
ORACLE_SID is an environment var (site identifier) that corresponds to a particular environment.

I don't understand what you mean by dynamically changing it in memory. Generally the...
7,794
Posted By blackrageous
You have a semicolon after the if in search4(). ...
You have a semicolon after the if in search4(). I also think I see it in other if's as well. You have a number of other issues. Separate your functions in single files and debug them, then combine...
4,311
Posted By blackrageous
By example, this would evaluate the actual value...
By example, this would evaluate the actual value of $ORACLE_SID


LOG_DIRECTORY="/var/opt/\$ORACLE_SID/logfile.log"


Note your comment: "I need ORACLE_SID, to change dynamically whle the...
Forum: Linux 11-03-2015
3,392
Posted By blackrageous
Please clarify your configuration. Are you...
Please clarify your configuration. Are you suggesting that you have a main URL that is set up to be redirected to vhosts? Is this a load balancing scheme, round robin,... Are these vhosts on the...
1,980
Posted By blackrageous
What do you mean "I need to fix it with alias"? ...
What do you mean "I need to fix it with alias"? Give an example of what you are trying to achieve.
2,021
Posted By blackrageous
You could log script output and use the last...
You could log script output and use the last command to see your last logins per system. You could also look in your shell history as well.
Forum: Linux 09-30-2015
6,974
Posted By blackrageous
What exactly did your system administrator give...
What exactly did your system administrator give you and why didn't the system administrator create the file system. Do you have root access?

What does sudo vgdisplay show?
11,746
Posted By blackrageous
Use uuencode like in this example How To...
Use uuencode like in this example

How To Send an Email With Attachment and Body from Linux (http://www.thegeekstuff.com/2009/12/how-to-send-an-email-with-attachment-and-body-from-linux/)
Forum: Linux 09-10-2015
2,851
Posted By blackrageous
I would not allow users to have read only access...
I would not allow users to have read only access to every file on the server. This would imply sweeping changes. Why not identify the collection of files they need access too and consider using the...
Forum: AIX 09-10-2015
3,403
Posted By blackrageous
You can use an expect script to respond to the...
You can use an expect script to respond to the password prompt.
Something like...
transfer file using expect and sftp...
11,100
Posted By blackrageous
If the command doesn't work from the command...
If the command doesn't work from the command line, it's not likely to work from a script. Post the error you got.
11,100
Posted By blackrageous
Why do you need a script? Did you consult the...
Why do you need a script? Did you consult the man pages.

yum remove package
yum erase package
yum downgrade package
Forum: AIX 08-26-2015
8,767
Posted By blackrageous
What menu are you in, can you do a screen print. ...
What menu are you in, can you do a screen print. What code is on the LED display if any. Did you try the service guide instructions for opening the system?
Forum: AIX 08-25-2015
8,767
Posted By blackrageous
How are you accessing the system now?
How are you accessing the system now?
Forum: AIX 08-25-2015
8,767
Posted By blackrageous
You need the service guide for your machine. ...
You need the service guide for your machine. Generally speaking you remove the service processor assembly (don't remove the time of day battery).

I think your machine only has one service...
Forum: AIX 08-24-2015
8,767
Posted By blackrageous
Are you trying to login to login to the ASMI or...
Are you trying to login to login to the ASMI or HMC. Is there a code on your LED display, if so what is it (something lie Bxxxxxx)?

If you don't know the admin password to access the ASMi then...
Forum: Programming 08-24-2015
2,975
Posted By blackrageous
Look for the system call; something like this ...
Look for the system call; something like this


system("cat /config-directory/filename.type | mailx -s 'subject' user@host");
Forum: SCO 08-24-2015
35,288
Posted By blackrageous
Lets not forget Mr. Richard Stevens books,...
Lets not forget Mr. Richard Stevens books, including Advanced Programming in the Unix Environment.
Forum: Linux 08-03-2015
3,379
Posted By blackrageous
You can use cygwin but that's not linux. I am...
You can use cygwin but that's not linux. I am not a fan of dual boot unless each partition needs access to the physical devices. I recommend installing the free VMware playing than installing an...
Showing results 1 to 25 of 500

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