Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#Bash, 4 bytes

Bash, 4 bytes

0ドル&$

Outputs ./forever2.sh: line 1: $: command not found continuously.

Because 0ドル is backgrounded, each parent dies after the invalid command $, and so stack/memory is not eaten up, and this should continue indefinitely.

Strangely the output gets slower and slower over time. top reports that system CPU usage is close to 100%, but there are memory- or CPU-hog processes. Presumably some resource allocation in the kernel gets less and less efficient.

#Bash, 4 bytes

0ドル&$

Outputs ./forever2.sh: line 1: $: command not found continuously.

Because 0ドル is backgrounded, each parent dies after the invalid command $, and so stack/memory is not eaten up, and this should continue indefinitely.

Strangely the output gets slower and slower over time. top reports that system CPU usage is close to 100%, but there are memory- or CPU-hog processes. Presumably some resource allocation in the kernel gets less and less efficient.

Bash, 4 bytes

0ドル&$

Outputs ./forever2.sh: line 1: $: command not found continuously.

Because 0ドル is backgrounded, each parent dies after the invalid command $, and so stack/memory is not eaten up, and this should continue indefinitely.

Strangely the output gets slower and slower over time. top reports that system CPU usage is close to 100%, but there are memory- or CPU-hog processes. Presumably some resource allocation in the kernel gets less and less efficient.

Source Link
Digital Trauma
  • 73.7k
  • 10
  • 116
  • 268

#Bash, 4 bytes

0ドル&$

Outputs ./forever2.sh: line 1: $: command not found continuously.

Because 0ドル is backgrounded, each parent dies after the invalid command $, and so stack/memory is not eaten up, and this should continue indefinitely.

Strangely the output gets slower and slower over time. top reports that system CPU usage is close to 100%, but there are memory- or CPU-hog processes. Presumably some resource allocation in the kernel gets less and less efficient.

AltStyle によって変換されたページ (->オリジナル) /