Search Results

Search: Posts Made By: MadeInGermany
Forum: What is on Your Mind? 3 Weeks Ago
503
Posted By hicksd8
Coronavirus maths anyone?
This is a really interesting watch.............. (well worth a few minutes of your time)

YouTube (https://www.youtube.com/watch?v=Kas0tIxDvrg&feature=youtu.be)
312
Posted By jim mcnamara
This: Process priority and control on AIX...
This:
Process priority and control on AIX (https://www.ibm.com/developerworks/aix/library/au-aixprocesscontrol/index.html)

Does not seem to list a "D" state for AIX. Maybe some of the extended...
446
Posted By nezabudka
Need to refine error handling choose() { ...
Need to refine error handling
choose() {
select button in $@ Quit; do
case $button in
Quit)
echo $REPLY - $button
break
;;
"")
echo ERROR...
Forum: What is on Your Mind? 1 Week Ago
208
Posted By vbe
Why not? Phosphorus recycling
There's treasure in your toilet and it can help the planet - BBC News (https://www.bbc.com/news/av/stories-52017351/there-s-treasure-in-your-toilet-and-it-can-help-the-planet)
514
Posted By stomp
Ceph Experience
Hi,

I got asked if I can list some additional informations about ceph "in production" at my site.

Well, the small hyperconverged cluster here with ceph is not really in production by the...
Forum: Shell Programming and Scripting 2 Weeks Ago
993
Posted By nezabudka
Hello and welcome It’s customary to help on...
Hello and welcome
It’s customary to help on this resource, that is, you solve a problem and you don’t succeed or you’re stuck on something and don’t know how to continue. Therefore, if you have a...
Forum: What is on Your Mind? 4 Weeks Ago
573
Posted By stomp
SysAdmin-Story: About monitoring and troubleshooting
New Customer: Houston we have a problem! Our webserver has strange delays and outages. Every day at the same time. Some minutes and then it goes away. We internally checked the configuration of the...
Forum: AIX 4 Weeks Ago
1,829
Posted By RecoveryOne
This is a pretty large box, a E870 as a matter of...
This is a pretty large box, a E870 as a matter of fact. Is the network coming from a VIO? If so: Is the VIO network setup correctly? Does the VIO have the correct resource assignments to provide...
1,211
Posted By Peasant
Other the licencing issues, ZFS on Linux is...
Other the licencing issues, ZFS on Linux is production quality.

I'm no zealot but name me one file system on Linux (other then BRTFS) which has all those features so to say inline :


Builtin...
926
Posted By bdittmar
Have look with GOOGLE
Have a look at:

What’s the Difference Between Bash, Zsh, and Other Linux Shells? (https://www.howtogeek.com/68563/htg-explains-what-are-the-differences-between-linux-shells/)
Forum: Solaris 02-25-2020
1,354
Posted By solaris_1977
I found the issue, it was tricky. Multicast...
I found the issue, it was tricky.

Multicast packets are going through admin interface because it is managed by /lib/svc/method/net-svc configuration. One of its parameter says
if [...
Forum: What is on Your Mind? 02-20-2020
783
Posted By wisecracker
Toshiba’s Optimization Algorithm Sets Speed Record for Solving Combinatorial Problems.
Enjoy...

'https://spectrum.ieee.org/tech-talk/computing/software/toshiba--optimization-algorithm-speed-record-combinatorial-problems'

Copy and paste URL less single quotes...
Forum: Linux 02-16-2020
1,026
Posted By Chubler_XL
What value do you have for swappiness...
What value do you have for swappiness (https://en.wikipedia.org/wiki/Paging#Swappiness):

# cat /proc/sys/vm/swappiness
60


You can try tweaking this back a lower percentage (eg add/change...
Forum: What is on Your Mind? 02-07-2020
1,163
Posted By wisecracker
The worlds first classical Chinese program language.
WOW, just WOW...

It would be mighty interesting to see shell code translated to this. Kudos to the young guy who succeeded...
...
Forum: Web Development 01-30-2020
2,731
Posted By Akshay Hegde
You should now options enabled in your server...
You should now options enabled in your server endpoint, I used in past with nextcloud (https://docs.nextcloud.com/server/latest/user_manual/files/access_webdav.html)

Below few are examples, for...
900
Posted By Chubler_XL
This is because commands within a pipeline are...
This is because commands within a pipeline are run in subshells so the read statement is setting the variables is a subshell which has not impact on the main shell.

You can achieve what you want...
1,689
Posted By Peasant
Tip: inotify cron
Dear members, moderators and others.

While working on <insert project>, a need has surfaced to watch a directory, and when a file comes, to do appropriate action.
So, i started writing some...
3,079
Posted By nezabudka
It’s interesting that on "zsh" it works
It’s interesting that on "zsh" it works
3,793
Posted By RudiC
@MadeInGermany: Wouldn't that print $0 twice,...
@MadeInGermany: Wouldn't that print $0 twice, once for each of the conditions?
987
Posted By Scrutinizer
Not sure what you are looking for. You could pipe...
Not sure what you are looking for. You could pipe the result into a while-read loop and use shell variables to compose your command.

jq -r '.name + ";" + .description'...
987
Posted By Scrutinizer
Try: jq -r '.description' -- It is best to...
Try: jq -r '.description'

--
It is best to put quotes around variable expansions:
echo "$vulnerabilities"

--
You do not need the intermediate step, you could also do this:
jq -r...
Forum: OS X (Apple) 01-18-2020
1,498
Posted By wisecracker
Generate a random number in a fully POSIX compliant shell, 'dash'...
Hi all...
Apologies for any typos, etc...
This took a while but it didn't beat me...

Although there are many methods of generating random numbers in a POSIX shell this uses integer maths and a...
Forum: What is on Your Mind? 01-11-2020
5,208
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...
680
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
680
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
Showing results 1 to 25 of 500

 

Featured Tech Videos

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