FG
💻 Software

Why would bash commands sometimes not return output?

Fresh5 days ago
Mar 15, 20262257 views
Confidence Score0%
0%

Problem

In a bash shell, if I execute any command (e.g. "who"), many times it will not show any results, but when I next execute any other command the output of the previous command will be included. e.g.: At first it looks like some sort of "not flushing the buffer" issue, but sometimes the results are re…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why would bash commands sometimes not return output?

Low Risk

Thanks for the help. It looks like the culprit was a process that had a memory leak of threads, with the count reaching 25,000+. So many things are weird about this problem that I don't know where to start. e.g. 'ksh' worked fine... Anyway, a patch …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment