Questions tagged [stdin]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
873 views

See contents of conhost

Every now and then, various programs create conhost.exe processes on my (Windows 7 x64) computer. I know they are console windows, except the windows themselves are hidden. I don't suspect any ...
Fredrik Eldh's user avatar
2 votes
0 answers
761 views

Why the here-strings in bash are slower than piping the input to a command?

I compared the execution time for unix here-strings and pipe data input to bc: pipe time for i in {1..1000} do echo "sqrt(5.09)" | bc -q > /dev/null done real 0m3.584s user 0m0....
static's user avatar
  • 1,357
1 vote
2 answers
4k views

"Unable to retrieve file contents" trying to supply ansible playbook from stdin

I wanted to supply a playbook to ansible-playbook 2.4.2.0 from stdin on RHEL 7.5, I found this post which seemed very promising but it's not working for me: $ cat ~/simple-ansible-playbook.yaml | ...
John's user avatar
  • 111
1 vote
1 answer
3k views

Type an EOF without a line break

I have a little command that I use to copy/paste files around that involves pasting the base64-encoded tar archive into stdin, but the base64 utility keeps giving me and error message about my input ...
Sammitch's user avatar
  • 1,049
1 vote
0 answers
254 views

how to simulate a file under linux?

I'm basically trying to do this using openssh: I have a private key, however it isn't in file (it's in memory). Now, I want to create the public key in openssh format. For that I would generally run ...
ShinySpiderdude's user avatar
0 votes
0 answers
68 views

MacOSX cuts off stdin at 1023 chars

How can I change the limit? I don't know how to change the tty in mac terminal. Are there any way to do it? I also cannot use pbpaste in my python input.
Trinidad's user avatar
  • 101
0 votes
0 answers
360 views

How can I get RAR to create a segmented archive (volumes) when compressing from stdin?

I have this ZFS box where I'm creating incremental snapshots, then piping them into RAR (4.2) for compression and encryption, and finally backing those files up remotely. Thing is, RAR seems to ...
DanielSmedegaardBuus's user avatar
0 votes
1 answer
2k views

Is it possible in ffmpeg to seek to position of the file that is received through stdin

Is it possible to -ss in ffmpeg to the file, that is being received via pipe? So that I start reading it from a given timecode? I am not encoding the file. Thanks
stpn's user avatar
  • 197