Search Results

Search: Posts Made By: blackrageous
1,881
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>
2,618
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,104
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...
13,791
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).
Forum: AIX 08-24-2015
7,432
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: Linux 08-03-2015
2,489
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...
Forum: IP Networking 07-22-2015
1,786
Posted By blackrageous
These terms are too ambiguous. How did you...
These terms are too ambiguous. How did you determine there was no internet? Generally a flood will result in erratic connectivity. You can do pings and traceroutes to attempt to determine the...
Forum: AIX 07-22-2015
1,965
Posted By blackrageous
That will never work: bad syntax everywhere. ...
That will never work: bad syntax everywhere.
Try this

if (( $# )) ; then echo "number of parameters = $#" ; fi
2,162
Posted By blackrageous
you are missing a '/' in front of your target...
you are missing a '/' in front of your target directory and I don't see what you are using $f{%.doc} for, is that meant to be part of the target file spec
2,322
Posted By blackrageous
${x} should be enclosed in quotes. but it's also...
${x} should be enclosed in quotes. but it's also because you have special characters in the string like "[" and "]". Why do you have to such a long (exact) search string?
2,511
Posted By blackrageous
Check out ls -ctl | head
Check out

ls -ctl | head
2,530
Posted By blackrageous
I would not create a temp.sh file and just do... ...
I would not create a temp.sh file and just do...

for i in S{01..96}; do sed 's/avg_ins=1000/avg_ins=600/' template.config > ${i}.config ; done
1,740
Posted By blackrageous
This is a bit vague. It's not clear what they...
This is a bit vague. It's not clear what they want...maybe just to strip off the path...

Suppose you have script that takes the path-filename as arugment 1
3,018
Posted By blackrageous
Is USERID defined? Try putting echo ${cmd} in...
Is USERID defined? Try putting echo ${cmd} in the script right before mkuser and take a look at the string.
Forum: AIX 04-08-2015
2,475
Posted By blackrageous
You can use...
You can use /usr/es/sbin/cluster/utilities/clcycle which is a HACMP utility. Normally it is started via crontab and without parameters (it only cycles hacmp.out). But one can use it with option...
5,344
Posted By blackrageous
This statement doesn't look good since you are...
This statement doesn't look good since you are pushing the scripts into the background with ampersand...


"$i" & >> ${LOG_FILE} 2>&1Plus it looks like you run the scripts again.
I suggest...
1,086
Posted By blackrageous
Cheap, simple awk, create file a.awk that...
Cheap, simple awk, create file a.awk that contains..

/^LOGS MEAS FROM.*FORMAT.*STORAGE FORMAT/ {
# print
split($0,a,"=")
part1=a[1]
...
1,215
Posted By blackrageous
This works... file a.awk contains ...
This works...

file a.awk contains


/^INFO:/ {
dateTimeSTART=$4
dateTimeEND=$5
}
/^-----/ {
split($0,a,"=")
table=a[2]
}
/^INFO / {
...
Forum: IP Networking 02-17-2015
1,853
Posted By blackrageous
There really isn't a concept such a remote...
There really isn't a concept such a remote browser. If you are in a browser you are local (unless you are launch a browser from a machine and shoot the display to a different machine like in X...
Forum: IP Networking 02-18-2015
1,853
Posted By blackrageous
I stand corrected. Didn't think about tunneling.
I stand corrected. Didn't think about tunneling.
1,523
Posted By blackrageous
This seems to be just a replace issue easily...
This seems to be just a replace issue easily handled by sed without the need for the power of awk.

The $ is the only character that needs to be quoted to prevent the system thinking a variable is...
Forum: AIX 02-12-2015
5,295
Posted By blackrageous
You can monitor AIX from a Nagios Manager without...
You can monitor AIX from a Nagios Manager without any Nagios plugins using SNMP. See AIX information for snmpd, aixmibd, hostmibd, and snmpmibd.

IBM Knowledge Center...
Forum: Solaris 01-29-2015
3,270
Posted By blackrageous
Optimal operating temperature for that system is...
Optimal operating temperature for that system is -40° C to 65° C.
You are running a risk. I would never commit to being on the side of such a risk. Will they be responsible if it fails?
11,609
Posted By blackrageous
Is this running as root? What does backtrace in...
Is this running as root? What does backtrace in gdb reveal (calling sequence) or bt full for detail.
Did you try gdb /bin/ksh <corefile>, gdb only requires an executable call, but the ?? indicates...
Forum: Ubuntu 01-26-2015
6,071
Posted By blackrageous
possible bug?
possible bug?
Showing results 1 to 25 of 107

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