1

At some point I used a shell command that continuously sent a very short string of text to the standard output, but at this moment I can't recall it's name.

Its name was something very short, like 'abc', useful to quickly create a file filled with text. I remember I was surprised I had never seen it, so I guess it might not be a Linux built-in command. It actually might be a zsh shell command, but at the moment I do not have access to a zsh shell. I tried to find it in bash with "compgen -c" but either is not there or I can't recall the name

I know I can script it, but I am curious whether someone knows about it

6

There's the command yes(1)

yes - output a string repeatedly until killed

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.