@Gilles I think the older one is a subset of the newer one (e.g. Stéphane’s answer to the newer question doesn’t apply to the older one), so the current situation seems fine to me (with your duplicated answer).
I am trying to help a user over on AU and have a weird issue:
# echo "$PATH"
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/anaconda3/bin
# ls -l /root/anaconda3/bin/anaconda
-rwxrwxr-x 1 root root 158 avril 25 16:47 anaconda
# which anaconda ## no result
# type anaconda
bash: type: anaconda: not found
Setting aside the fact that they're working as root, how is it possible for something to be in a directory in the PATH, be executable and yet not appearing in the output of which or type?
And yes, it does work if they just run it using the full path.
If anyone would like to chime in, I'm chatting here:
if they had anaconda in a different path previously and Bash cached it, then they deleted it, they would need to hash -r anaconda to update the command cache
Yeah, your answer seems to be nicely covering both bases.
@tripleee not sure about the dupe. The dupe target you chose was all about running it as root. I agree that the root cause (no pun intended) is the same, but slm's answer is probably too complicated for the OP here.
I feel like there's a problem with Stack Overflow, as the number of people prowling it increases.
Each question's answers are sorted by descending score and then by descending time of posting. This means that if a person sits down and answers a question in a long, thorough way, going through eve...
although since I see 15 minutes passed between the answer and the comments, there must have been some traffic in the way, or a shoot-out to see to somewhere else first
(either that or people could be doing other stuff than Unix.SE... naaaah)
I'm calling bash from cmd.exe like this
c:\cygwin\bin\bash --login -c "echo ф"
and get on Cygwin 2.8.0
/usr/bin/bash: echo ф: command not found
It treats the parameter as part of the command name. Doing the same on Cygwin 2.5.2 I get the output ф.
@derobert If you're sure it's a bug report, an answer saying - yes, it's a bug report, report it here, would probably suffice. The poster probably just wants confirmation it's a bug. And it's surprisingly common for people to not know (or realise) they should report bugs.
And by here, I mean give an address - mailing list / web page.
I've written similar questions here and elsewhere before now. E.g. on Tex SE. Though there the author/developer (or authors/developers) sometimes do respond themselves. That doesn't happen on Unix SE.
Since this used to work, and works fine for people running bash on Unices (I tested on Debian here), I think you've found a Cygwin bug. The Cygwin project has a page about reporting Cygwin bugs. They have a bunch of useful information and steps there, far too long to summarize here.
In the mean ...
@FaheemMitha there, I provided the web page and also a potential workaround
Encodings are really confusing things. I recall Matt (Mackall) of Mercurial practically coming to blows with his developers over it. Matt has now moved on. I wonder how they are handling it now.
I think Matt considered the Python 3 handling of Unicode brain damaged. I don't have an opinion, naturally.
@derobert I was just thinking, "I haven't used at in so long, I probably got that wrong, and I'm surrounded by geekier Unix users, someone's bound to correct me" :)
@FaheemMitha No, it's not cheap, but really good standard of living (compared to NZ and UK, where I have also lived). I'm renting an apartment, 60 m^2, one bedroom, livingroom, kitchen.
@FaheemMitha Not sure. It seems 2010-08-10 is the earliest it was possible to join—or more likely, the date they started keeping track of that. I'm on that day, and so are earlier users (like 4)
I used to pay water bills in the US. In Durham, at least. I remember noticing it didn't change when I wasn't actually there, which struck me as a bit odd. But I never got around to following it up.
@derobert Hmm. I'm surprised I didn't join earlier.
Hmmm, stackexchange.com gives: <input type="hidden" name="creation-date" value="1281380400" /> for unix.se, which is 2010-08-09T19:00:00+00:00 ... so maybe that's actually when the site was created.
@FaheemMitha I know of noone using gas in their homes. However, my dad used to live in a flat in Stockholm that had gas in the 1990's, but that's probably replaced by now.
Heat is transferred by water into radiators in homes. The water is, in larger cities, heated in one or several locations. That's the only kind of "central heating" I knew of before I moved abroad.
@FaheemMitha Yes.
@FaheemMitha I really don't know. I will look it up.
District heating (also known as heat networks or teleheating) is a system for distributing heat generated in a centralized location for residential and commercial heating requirements such as space heating and water heating. The heat is often obtained from a cogeneration plant burning fossil fuels but increasingly also biomass, although heat-only boiler stations, geothermal heating, heat pumps and central solar heating are also used, as well as nuclear power. District heating plants can provide higher efficiencies and better pollution control than localized boilers. According to some research,...
But how do you control heat levels, if it's being done remotely?
> Sweden has a long tradition for using teleheating in urban areas. In 2015, about 60% of Sweden's houses (private and commercial) were heated by district heating, according to the Swedish association of district heating.
@FaheemMitha Most of what I watch for entertainment comes off YouTube... SVT (corresponds to British BBC) has a website that I go to for specific things sometimes, like news broadcast.
I just glanced through my youtube subscriptions to see what I clicked on
pretty much; "My name's Kristin, and I love learning filthy, hilarious phrases in American Sign Language. As I learn, I share them here! New videos are uploaded every Wednesday. "
@FaheemMitha Ummm... then I'm confused. I watch over-the-air TV through a network tuner, which streams MPEG over Ethernet. To a MythTV server. Then to the MythTV client, running on a PC, connected to a the big bright monitor (TV)
"Look to the Lady" is practically speaking the first Campion novel, though I think he has an earlier appearance. That TV serial wasn't very good, though.
@derobert I wonder how that utomatic copyright infringement detection works.
I don't understand how the matching thing would work. Do they use some kind of hashing? Otherwise, comparing a given item to a zillion items isn't practical.
@FaheemMitha They must build some sort of fingerprint. I doubt they give an explanation for it anywhere, but you can look up various image search algorithms...
@FaheemMitha Well, there are a lot of images in a 40 minute video. That gets your false positive rate pretty low, I'd think. And you can probably tune it as low as you want, by accepting more false negatives.
@derobert The link. Does it not work for you? There's only one answer in the link.
Specifically
> Installation of SSD instructions from Crucial for model MX200 say DO NOT USE magnetic screwdrivers near ANY SSD, as the magnets can destroy the SSD and VOID the drive's 3-year warranty.
The tesla (symbol T) is a unit of measurement of the strength of a magnetic field. It is a derived unit of the International System of Units, the modern form of the metric system.
One tesla is equal to one weber per square metre. The unit was announced during the General Conference on Weights and Measures in 1960 and is named in honour of Nikola Tesla, upon the proposal of the Slovenian electrical engineer France Avčin.
The strongest fields encountered from permanent magnets are from Halbach spheres and can be over 4.5 T. The strongest field trapped in a laboratory superconductor as of June 2014...
Yes. And maybe that much would do something to a magnetic hard drive. Like, for example, it might warp the cheap computer case when you try to remove the screwdriver from the screw.
Surprisingly, something as simple as this isn't available locally. I could get it through one of those outfits that imports stuff into India and then sells it as a markup, but I'm contemplating buying it directly from Amazon.
I think all the sites have some shortcut. There are so, sf, su for the Trilogy, I think au is AskUbuntu. You can put meta in front, I believe: Unix & Linux Meta is meta.unix.se
it claims "Third, it displays the contents of the message that was replied to in a small bubble. This bubble is shown when hovering over the indicator that a message was a reply to an earlier message.
@FaheemMitha so I hit colon, up-arrow for this reply; it gray-highlighted your original message, but I expected -and didn't get- a bubble on top of this text box
(the black "This is a reply to an earlier message" is not the extension, that's just the alt-text for the button for hover tooltips; the chat bubble is only the extension)