Search Results

Search: Posts Made By: MadeInGermany
58,790
Posted By apmcd47
Try appending this to your command: 2>...
Try appending this to your command:


2> >(grep -v 'No such file or directory' >&2)
It should remove the above message from the STDERR but allow other messages to be printed.


Works for bash...
54,201
Posted By bedtime
For those who care, I managed to come up with...
For those who care, I managed to come up with something more efficient. This code will also output even if there is no text:
a=${#text1};b=${#text2};echo $((a*b?(a>b?100*a/b:100*b/a):0))
Forum: Solaris 04-22-2020
31,654
Posted By solaris_1977
Hardware RAID on Solaris-10 disk
Hello,

I am not able to figure out if the disk is in mirror or not (hardware RAID). c1t1d0s0 is the one, which I need to replace, as this one is in the failing state.
solaris-10-priv#df -h...
19,224
Posted By stomp
Docker is dead - cri-o the new best practice
Since some time now docker is being on the fall and is being abandoned as provider for container technology.

Red Hat already threw docker out of its Red Hat Enterprise Linux (all Versions 6,7 and...
10,733
Posted By Stellaman1977
Hi. I had the same problem and this solution was...
Hi. I had the same problem and this solution was really helpful. However, I was able to do this without an installation CD. From the login screen, I did a STOP A then boot into failsafe modeboot...
35,107
Posted By RudiC
I'm afraid you'll have to deploy the dangerous...
I'm afraid you'll have to deploy the dangerous and deprecated eval like

while read -r line
do eval echo "\${!$line
}: \${$line
}"
done < file1.txt
0 1 2: 1...
3,478
Posted By Chubler_XL
You could write a script that asks and then...
You could write a script that asks and then executes /bin/crontab. Put this in the PATH before /bin (eg /usr/local/bin):

Script could be something like this as an example. You may not want to...
5,182
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...
34,564
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? 03-25-2020
19,172
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)
20,845
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...
40,980
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? 03-09-2020
5,618
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)
Forum: What is on Your Mind? 03-05-2020
5,534
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 03-04-2020
18,440
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...
14,623
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...
Forum: Solaris 02-25-2020
16,761
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 [...
5,884
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: What is on Your Mind? 02-20-2020
5,732
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
7,275
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
6,387
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...
...
10,214
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,576
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...
Forum: Web Development 01-30-2020
11,429
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...
12,730
Posted By nezabudka
It's interesting that on "zsh" it works
It's interesting that on "zsh" it works
Showing results 1 to 25 of 500

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