Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
90 views

I came across this line in my homework: (cat "$@" 2>&1 >&3 | tr a-z A-Z >&2) 3>&1 Is the 3>&1 executed first to create a file descriptor 3 pointing to ...
pelican's user avatar
  • 55
Advice
0 votes
9 replies
45 views

I use Cygwin under Windows. Under windows I have created files with spaces in them. I would like to remove the spaces. There are enough files so that doing them individually is impracticable. I have ...
lostbits's user avatar
  • 1,110
0 votes
0 answers
55 views

I’m trying to understand how plugin systems differ between Mattermost and Apache APISIX, specifically in how they use RPC for external plugins. Mattermost plugins must be written in Go. The server ...
AArgh's user avatar
  • 9
0 votes
1 answer
153 views

We are running a Fabric test network on an Ubuntu virtual machine. The test network starts up fine using: ./network.sh up createChannel -ca However, it fails when deploying chaincode. The chaincode ...
Fariha Abbasi's user avatar
1 vote
0 answers
50 views

I have the following structure: XmScrolledWindow -> XmContainer I am struggling to identify which resources control: a) the border that surrounds the XmContainer when scroll bars are required. ...
M.E.'s user avatar
  • 5,707
2 votes
0 answers
72 views

I want to use the Motif MainWindow using: A container as work region A label as message window. But the label is not shown. My expectation is that it would be shown below the container (work region)....
M.E.'s user avatar
  • 5,707
3 votes
5 answers
206 views

I have this alias to format $PATH into one line per path: alias path='sed ''s/:/\\n/g'' <<< "$PATH"' I tried to specify the env var to list, like path $MANPATH but still with a ...
vulcan_'s user avatar
  • 165
4 votes
1 answer
101 views

The following example script does the following: Uses truncate to create a 200MB sparse file in /tmp/example/1/sparse. Uses shutil.copy2 to copy the newly created file to /tmp/example/2/sparse. Uses ...
asizo's user avatar
  • 41
0 votes
1 answer
71 views

I am running below in UNIX, UOW="20251013115437" echo ${UOW} UOW_STR=${UOW:0:4}"-"${UOW:4:2}"-"${UOW:6:2}" "${UOW:8:2}":"${UOW:10:2}":"${UOW:...
sourav shetty's user avatar
4 votes
1 answer
147 views

So I once learned that UNIX futex is in essence an unique integer, is this statement correct and complete? If that is true, can I somehow take advantage of it to help avoid deadlock by always locking ...
PkDrew's user avatar
  • 2,301
0 votes
1 answer
41 views

The XFS filesystem has (or used to have) a IOCTL named XFS_IOC_RESVSP64 for reserving space: You called it with a given file descriptor, and the XFS driver reserved an amount of space use by for your ...
einpoklum's user avatar
  • 139k
0 votes
0 answers
87 views

I need to create a virtual PPP connection that I can configure and capture into PCAP files. The goal is to set up a PPP link with protocol-field-compression and FCS-alternatives options in LCP (the ...
Alice Gingertail's user avatar
2 votes
1 answer
112 views

I have multiple threads performing sigwait on the same signal, and the main thread will wake specific thread up via pthread_kill. On Linux the program runs fine, but on MacOS the wrong thread will be ...
Guest0x0's user avatar
  • 306
2 votes
0 answers
206 views

I can connect a Unix server and client socket just fine, but only if they are on the same machine. My code does not work even if they are running on separate machines connected to the same router. To ...
Jen's user avatar
  • 21
3 votes
0 answers
170 views

In C on linux, given a file path, I'd like to read the file contents, and also I'd like to know the real path with any symlinks resolved. I can do those things separately (e.g. open() + read() for the ...
Ismail Badawi's user avatar

15 30 50 per page
1
2 3 4 5
3171