Jun 30 10:22
Are you wanting a write command invoked on one host to put a message in the terminal window on a different host?
 

 /dev/chat

General discussion for unix.stackexchange.com. If you have a q...
Sep 6, 2023 16:13
Plus ca change
Aug 18, 2023 16:45
In bash:

printf -v string '%s,' "${array[@]}" ; echo "${string%,}"
Aug 13, 2023 18:40
@FaheemMitha what's your question? Whether gandi.net has raised renewal prices? Suggestions for other DNS registrars that charge around 20 USD per year?
Jun 27, 2023 16:26
@FaheemMitha or the possibility that the statment's wording includes GPL code, but that was not intended.
Jun 27, 2023 16:25
@FaheemMitha I don't see a declaration one way or the other. I just see the possibility that there's no conflict with GPL if only non-GPL sources are "acquired through the customer portal".
Jun 27, 2023 16:15
@EvanCarroll access to a code repo is not "providing the exact sources"?
Jun 27, 2023 16:14
@FaheemMitha The sentence I'm talking about is the one I partly quoted: Red Hat’s user interface agreements indicate that re-publishing sources acquired through the customer portal would be a violation of those agreements.
Jun 27, 2023 16:11
@FaheemMitha I'm just interpreting the english sentence as Evan Carrol posted it.
Jun 27, 2023 16:09
My reading of "re-publishing sources acquired through the customer portal" is that (a) RH will only make their non-GPL code available through the customer portal, or (b) the "sources" that re-publishing would violate RH agreements are only the RH non-GPL ones (i.e., the sentence's wording includes GPL code, but that's unintended).
Mar 25, 2023 17:50
The word "topology" is used for both of these things.
Mar 25, 2023 17:49
Depends on whether you're asking about the way devices in the network deliver packets to each other (layers 1, 2 and 3 in the OSI network model) or the way sub-networks are isolated from each other by firewalls to control the flow of traffic to different parts of the network (layer 4 in the OSI model).
Feb 21, 2023 14:48
Any compiler could be summarized as "doing a lot of find and replace". In some ways that can be an accurate description, in other ways it's not accurate.
Dec 1, 2022 16:31
@jesse_b That's what the NSA tells us, at least. ;) (I'm kidding around)
Dec 1, 2022 16:03
@jesse_b "The webcam is pointed at you, but don't worry - we're only using the noise from it, not the image" -- NSA
Nov 25, 2022 18:20
@Kusalananda I don't know if terdon was thinking it was a duplicate question. The feeling I had reading that second question was that the cause of the troubles may be the same as an earlier question. I couldn't find the question until yesterday.
Nov 25, 2022 00:30
@terdon regarding the question https://unix.stackexchange.com/questions/726153/bash-script-containing-sudo-unreliable-background-resume-bg

The question I thought was similar is https://unix.stackexchange.com/questions/721699/terminal-error-occurred-while-reset-800b-errno-25

The symptoms are different but I wondered if the cause might be the same
Nov 24, 2022 14:39
@terdon that tickles a memory for me too. IIRC the explanation for the strange behavior in the other question eventually ended up being related to the ownership of symlinks under /proc/<pid> or /proc/self . I can't remember the specific question, though.
Sep 23, 2022 18:47
@jesse_b (re the numeric username) "There's a fine line between clever and stupid." -Nigel Tufnel
Sep 2, 2022 05:26
And BTW, I was mistaken earlier about who noticed "myapp" is a subdirectory. It was @muru . (credit where credit is due)
Sep 2, 2022 05:25
@CodeMed Yes, changing everyone's PATH can be tricky. With that in mind, my suggestion would be to follow the pattern of the /usr/local/bin/aws command visible in your file listing. It's a symlink that points to an executable with other dependencies under /usr/local/aws-cli/.../... The shells searching PATH will find the link and your app's accessory/dependency files don't pollute /usr/local/bin.
Sep 2, 2022 02:15
@CodeMed or even install your app in a subdirectory like /usr/local/bin/myapp_dir, and set a symlink in /usr/local/bin that's myapp -> myapp_dir/myapp.py. The shell will find the symlink in /usr/local/bin and invoke your .py file in the subdir. Like the other symbolic links visible in /usr/local/bin. One of those three things is my suggestion.
Sep 2, 2022 02:13
@CodeMed [continued from previous message] The elements listed in PATH are directories, and the shell searches those directories for files (or symlinks). It does not search subdirectories of those elements. The shell is ignoring the contents of your /usr/local/bin/myapp directory because it's a directory. If you were to add /usr/local/bin/myapp as an element in PATH it would probably find your executable file. Or install your python file into /usr/local/bin instead of a subdir.
Sep 2, 2022 02:09
@CodeMed Thanks for the PATH contents. As I review the posted question, I saw what Kusalananda saw. In the listing of /usr/local/bin after the output line 'About to ls -al /usr/local/bin', I see that everything in the listing is either a regular file or is a symbolic link (presumably to a regular file). Except for one item: "myapp". "myapp" is a directory. [have to continue this in my next msg]
Sep 1, 2022 23:41
@CodeMed how is Github Actions causing these commands to be invoked on the server, if not through an SSH connection and an interactive login as a particular user? Is it making some sort of calls to a cloud provider API that's going through an agent daemon running as root on the server? Some other mechanism? There's output in your question that shows the contents of /usr/local/bin, but not the contents of $PATH. Is it possible $PATH isn't what you expect?
Aug 12, 2022 16:46
Those particular directories can be read-only, but it can make OS updates difficult. If you're mounting them read-only on a VM, then you'll be updating the OS files from the native host (where they're read/write).
 
Jan 21, 2023 09:01
Could the video have meant to say it didn't become common for computer [software] to have garbage collectors until decades after 1972?
 
Nov 30, 2022 14:54
The effects of the inconsistencies between machines can be very severe or very mild. It depends on what data is contained in the files and what use is being made of the files by processes on the NFS clients.
Nov 30, 2022 14:51
In my experience NFS clients cache a lot of the file data and metadata they fetch from the NFS server. I'm not aware of NFS servers that send notices to clients about changes to files, though it's possible they exist (as well as clients who understand such notices). This local caching on clients can produce inconsistency in file data or metadata between NFS clients as well as between the NFS server and clients.