Sample Header Ad - 728x90

What does '-' as a file parameter mean?

0 votes
2 answers
85 views
I'm having trouble finding a name for the - character in the context of a piped bash command. 1. What is the - character called? 2. Can I replace it with something more readable for a script? Example command:
echo -ne "my command" | socat - /dev/somefile
Asked by tarabyte (4506 rep)
Apr 26, 2024, 03:22 AM
Last activity: Apr 26, 2024, 11:10 PM