I have a case where I am passing a content of a file to a command like this:
cat file_name.txt | my_command
But I want to pass a string directly, without reading a txt file content. So I want to have something like this:
"my file content as a string" | my_command
But of course I am getting an error "Command not found."
Please help me to come up with this. Thanks!