Search Results

Search: Posts Made By: MadeInGermany
Forum: What is on Your Mind? 1 Week Ago
3,593
Posted By drl
Hi. Yeah, late. Searched for logo q1 or...
Hi.

Yeah, late.

Searched for logo q1 or o1 or 01, and followed links to images (old-fashioned footwork).

It could be either PPM, a tape manufacturer, or the outfit that designed the logo for...
249
Posted By RudiC
Or printf "%s%0*d\n" ${X} $((9-${#X})) 0 ...
Or
printf "%s%0*d\n" ${X} $((9-${#X})) 0
245700000
printf "%s%0$((9-${#X}))d\n" ${X}
245700000
249
Posted By Aia
One way in Bash could be: n=$(printf "%-9s"...
One way in Bash could be:
n=$(printf "%-9s" 2457)
printf "%s\n" ${n// /0}
245700000
363
Posted By nezabudka
Hi If there are multiple files should be used ;...
Hi
If there are multiple files should be used ; nextfile instead ; exit
Forum: What is on Your Mind? 2 Weeks Ago
149
Posted By RavinderSingh13
Happy New Year 2020 to all :)
Hello All,

I would like to wish A very Happy New Year 2020 to all. May GOD bless all of us with TRUE knowledge, wisdom, great attitude, honesty, hard working capability, great health :b:

Cheers...
Forum: What is on Your Mind? 2 Weeks Ago
149
Posted By Neo
2020 - Such a great year for everyone is here! ...
2020 - Such a great year for everyone is here! Live long and prosper!

7952
Forum: Shell Programming and Scripting 3 Weeks Ago
714
Posted By nezabudka
Hi look at this way declare -i...
Hi
look at this way
declare -i AnzahlUeberstunden
AnzahlUeberstunden=$(date -d "$JAHR-$MONAT-$TAG $ArbeitEnde" +%s)-$(date -d "$JAHR-$MONAT-$TAG $NormalesArbeitsEnde" +%s) #"tags" are not needed...
592
Posted By jim mcnamara
MicroFocus COBOL is your very best ORACLE option....
MicroFocus COBOL is your very best ORACLE option. It specializes in supporting ORACLE db's. It also is highly compatible with mainframe COBOL.
This will be the relatively easy part, moving code...
Forum: What is on Your Mind? 3 Weeks Ago
134
Posted By RavinderSingh13
Merry Christmas 2019 :) :)
Hello All,

I would like to wish merry x-mas to all of you. May GOD bless us all with wisdom, love, positivity and great positive energy, cheers and happy holidays :)

Thanks,
R. Singh
Forum: What is on Your Mind? 3 Weeks Ago
134
Posted By Neo
Thank you Ravinder. I wish everyone a very...
Thank you Ravinder.

I wish everyone a very safe, healthy and happy holiday season with loved ones.

7938
Forum: Solaris 4 Weeks Ago
1,518
Posted By Michele31416
OK, I'm glad I asked then. So I have to mount...
OK, I'm glad I asked then. So I have to mount the /bkpool disk in the LDOM as an NFS share? Can you give me a pointer on how to do that? Is this what Oracle calls "virtual disk multipathing"? ...
Forum: Solaris 4 Weeks Ago
1,518
Posted By hicksd8
One thing for sure is that only one of the nodes...
One thing for sure is that only one of the nodes (Solaris 11 Global or Solaris 10 LDOM) can have control of the volume. In any situation, having two operating systems writing to a volume...
Forum: Shell Programming and Scripting 4 Weeks Ago
708
Posted By Scrutinizer
Hi, the reason that the script is so slow, is...
Hi, the reason that the script is so slow, is that it is firing off 12 different sub shells per line in the input file, so that is 12 million sub shells in total, which is quite costly.
Examples of...
Forum: Shell Programming and Scripting 4 Weeks Ago
809
Posted By Scrutinizer
Hi MadeInGermany, Can't you use: echo_e()...
Hi MadeInGermany,

Can't you use:
echo_e() {
printf "%b\n" "$*"
}

Instead?

The use of "$*" means that this only works as long as IFS is at the default:

$ IFS=,
$ echo -e "a\nb" c d...
880
Posted By stomp
Even if it does not directly help in this case,...
Even if it does not directly help in this case, I'd like to mention Linux Audit, because it's really interesting:

One can audit all commands entered by anyone with these 2 rules:


auditctl -a...
878
Posted By Scrutinizer
In for some golf :) ? awk '{$1=A[i=$1];...
In for some golf :) ?
awk '{$1=A[i=$1]; A[i]=$0} END{for(i in A) print i A[i]}' FS="\t" OFS="\t" A.txt
931
Posted By foad
Using external programs (such as cut,...
Using external programs (such as cut, *grep,sed,awk or others) are a dire waste of precious resources as well as processes.







It is not clear what the two revs should accomplish, except...
2,025
Posted By RudiC
There seems to be a mixup between shell globs and...
There seems to be a mixup between shell globs and grep / regex patterns. Try grep 'body.*.xml'.


Or, recent bashes provide "extended pattern matching" if the extglob shell option is set:
shopt...
878
Posted By Scrutinizer
That is the case with sed, but with awk it can be...
That is the case with sed, but with awk it can be on the same line.

$ printf '1 2\n2 3\n3 4\n' | sed -n '/1/,/2/p'
1 2
2 3

$ printf '1 2\n2 3\n3 4\n' | awk '/1/,/2/'
1 2
Forum: What is on Your Mind? 10-18-2019
2,991
Posted By Neo
Also, I wanted to add: If anyone wants to...
Also, I wanted to add:

If anyone wants to contribute any UNIX or Linux trivial to the Open Trivia Database (https://opentdb.com/):

https://opentdb.com/

Please create an account at the "Open...
624
Posted By gull04
Hi, I see that you are trying to connect to...
Hi,

I see that you are trying to connect to the system through the ILOM.console connection, this is normally for mainenance/initial configuration only and all other instances you would connect to...
109
Posted By Scrutinizer
Hi, On Solaris 9 this probably should work...
Hi,

On Solaris 9 this probably should work too (depending on the shell which you did not specify), try:
alias dutop10='\du -s * 2>/dev/null | awk '\''{ printf "%4.2f-KB ==> %s \n", $1/1024 , $2...
146
Posted By Scrutinizer
Hi, In awk all variables are initiated with...
Hi,

In awk all variables are initiated with a default value, which is "", and is equal to 0 in a numeric context.

On the first line the value for max is equal to this default value, and so...
729
Posted By Sennenmut
Clang Compiler makes it.
Hi , the problem is solved. I have installed CLANG compiler , that works.
I have Sparky Linux OS.

Windowsmanager. I dont know what that is.
Forum: Solaris 10-23-2019
4,202
Posted By Peasant
Can you try the following, perhaps it will shed...
Can you try the following, perhaps it will shed some light :

truss -rall -wall chown root:sys <some insignificant file>

Are you using ZFS ?
Please check if you have some old snapshot of rpool...
Showing results 1 to 25 of 487

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