« first day (2390 days earlier)      last day (2572 days later) » 

7:43 AM
4
Q: mv : not found when executed from script that modifies PATH variable

userGuestI have this in my script. But is returning an error. If I execute the command in the console works fine ./script.sh[16]: mv: not found [No such file or directory] I want move some files what starts in T353 from one folder to another. REMOTE_PATH is /tmp/ and PATH is my working directory cd $R...

I'm sure this is a dupe, can't find the others...
 
8:00 AM
26
Q: Let's compile a list of canonical Q&As

terdonA few of us were talking about this the other day in chat, as we are now quite a bit larger and with several thousand Q&As, there are certain questions that are asked very often. Things like redirecting output, process substitution, batch renaming of files, fixing/reinstalling grub, etc. Let's c...

This thing on Meta, is it supposed to hold canonical questions or canonical answers?
I added a couple, but realized that they were canonical answers, so I deleted them.
Do we have a list of answers that we often refer to for things like "always quote your variables" and "why you shouldn't parse the output of ls" etc?
 
@Kusalananda The links in the answers are to "canonical" questions.
 
@FaheemMitha Yes, I know. The thing is that the "why not parse ls"-question is never asked, but it's often referred to.
The same with the quoting question. Nobody asks "why should I quote my variables". But we have a good canonical answer that I often refer to when I answer questions.
 
@Kusalananda You can create a question/answer for FAQs that don't already exist on the site.
@Kusalananda I don't follow. There is a canonical answer which doesn't correspond to a canonical question?
Rewording the question is always an option, I suppose.
 
The point of the above question on meta is to compile a list of canonical question that may be used to mark other questions as duplicates.
There aro other questions that should be collected in a list someweher too, IMHO.
 
@Kusalananda Yes.
@Kusalananda What other questions?
 
8:11 AM
A list of canonical, or "often referred to", questinos.
 
@Kusalananda questinos?
 
You mean, like "reference" questions/answers?
 
I'd personally stick it with the canonical questions/answers. I don't think we need multiple lists.
Maybe reword "canonical" to "frequently referenced" or something.
Most people aren't aware of that canonical list. We worked on it for a while some time back. A couple of years? But then people lost interest, as is liable to happen with volunteer activities.
 
8:18 AM
a common guidance on Stack Overflow at least is "if the answers on that question are the solution to the OP's problem on this new question, go ahead and mark it as a duplicate"
though the user experience is sometimes less than ideal (users complain that the question isn't a duplicate, and/or fail to see how to apply the answer)
(and/or see that the accepted answer doesn't work for them, and fail to look at the others)
maybe the "closed as duplicate" box could use a wording tweak or two
 
@tripleee We do that here too, and the same discussion (that you mention) pops up, but it's generally accepted.
 
@tripleee Really? I agree with that position, but in my experience the guidance is exactly the opposite. I was looking at this only yesterday in fact and could only find posts like this one which support the position that answers don't make dupes, only questions do:
9
A: When I flag as dupe, can the system put the link to the answer and not the question?

Robert HarveyThere's only one problem with your feature request: answers don't make questions duplicates. Questions are duplicates only when the questions themselves are duplicates. In other words, you can't close a question as a duplicate of another question just because "you can find your answer over here...

 
@terdon Hmmm... I'm sure I've seen this discussion here somewhere and it was pretty much concluded that if a question had an answer in another Q/A, it was a dupe, even if the question wasn't exactly duplicated. But I may be mistaken.
 
@Kusalananda I agree 100%, I'm just saying that I think the general conclusion is usually that no, answers don't make dupes. I very much hope I'm wrong since I think that's a silly conclusion, but couldn't find a good meta post supporting the opposite.
 
8:34 AM
meta.stackexchange.com/a/10844/169312 looks like it's advocating the opposite
 
@tripleee YES! Perfect, thanks. Damn, I wish I'd found that yesterday, it would have won the argument I was having :)
 
"Questions may be duplicates if they have the same (potential) answers. This includes not only word-for-word duplicates, but also the same idea expressed in different words."
 
added a comment on the meta you linked above
 
 
1 hour later…
10:07 AM
@Kusalananda As I already said, rewording an existing question to make it more general/generic may be an option. Or even adding extra wording: i.e. ADDENDUM: the more general version of this question could be described as ...
 
 
2 hours later…
11:53 AM
0
Q: nobody issue on RHEL 7

AthiriI have two NFS volumes exported to two RHEL6 and two RHEL7 servers. One volume is getting mounted with user and group permission which is locally available. One of the other volume is mounted. After mount I'm trying to change the permission but it is not picking up. It shows only nobody:nobody. C...

Anyone knows about NFS exports on RedHat? (I don't really)
I just know that root is handled as a special case and you have to explicitly allow root operations on the exported share. This is done differently in different Unices.
 
Please edit your question and show us the relevant configuration files. How are the shares being exported? With what options? How are they being mounted? With what options? You've given us very little information to go on here. — terdon ♦ 19 secs ago
 
 
4 hours later…
3:39 PM
Thanks anyway @Rui F Ribeiro :) I'll keep searching for a solution
 
@terdon I think you forgot about unix.stackexchange.com/a/360504/977
 
@derobert Indeed I had. Thanks.
Undeleted and upvoted.
 
 
8 hours later…
11:37 PM
both have an answer
I feel that the newer question is much better worded, but the older one is a bit ambiguous. If the questions aren't duplicates then I'd repost my answer to the earlier one.
 

« first day (2390 days earlier)      last day (2572 days later) »