The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
60 views

Which socket is gnome-shell reading from continuously?

strace shows that the GNOME shell is continuously trying to read from a socket, which is often not available (or doesn't contain any data to read from): strace -p gnome-shell-pid -e trace=recvfrom ...
0
votes
2answers
167 views

Why doesn't Bash accept `&>&3`, i.e. redirecting stdout and stderr to file descriptor 3?

Given the preamble, foobar function and invocations of it: exec 3>/dev/null function foobar { echo foo; echo bar >&2; } foobar >/dev/null foobar 2>/dev/null foobar ...
0
votes
2answers
55 views

How to reset the file descriptor

I was trying to use file descriptor for printing the lines in the file #!/usr/bin/ksh exec 3<&0 exec 0< file.txt while read LINE do echo “$LINE” done and I am done with my code ,it ...
0
votes
1answer
177 views

Understand Fd`s and nodejs

I'm having a bit of a confused time understanding what a file descriptor is and if I even need one! I am trying to spawn a process in nodejs and have its out put be written directly to an out put ...
0
votes
0answers
153 views

Embedded device GadgetFS connects to Linux machine and receives one USB setup request more than with a windows machine connected

I am using this GadgetFS implementation http://www.linux-usb.org/gadget/usb.c to have my embedded device connect to a Host. What's weird is, when I connect it to a Windows machine everything works ...