-
Bash Scripting for Dummies and Geniuses
The quotes prevent filename generation:
Code:grep a "*.txt"
Dito:
Code:grep "abc" "*.c"
Posted 08-25-2020 at 01:56 AM by MadeInGermany -
Bash Scripting for Dummies and Geniuses
Thank you for the article BASH.
Also, for the link to the "Beginners Bash Guide."
http://www.tldp.org/LDP/Bash-Beginne...ers-Guide.htmlPosted 03-15-2019 at 05:32 PM by greencedar -
How To Debug Linux C Programs Effectively Using The Debugger
OMG, one could spend a lifetime learning emacs and still only scratch the surface. I'd never tried the gdb integration before. I've been missing out, it's awesome.
Thanks for prompting me to try it.Posted 02-20-2019 at 06:32 PM by GazL -
Posted 09-07-2017 at 09:06 AM by rtmistler -
Everyday Shortcuts
Just addition in Math Precedence which I learns in my school days,
BODMAS, which stands for Brackets, Orders or pOwers, Division, Multiplication, Addition, Subtraction.Posted 07-21-2017 at 12:30 AM by rockstar05 -
Everyday Shortcuts
Good tips, thanks. Just googling by "divisible by 7" presents as the first result an excerpt from some site:
Quote:Take the last digit of the number you're testing and double it. Subtract this number from the rest of the digits in the original number. If this new number is either 0 or if it's a number that's divisible by 7, then you know that the original number is also divisible by 7
http://www.quickanddirtytips.com/edu...le-by-7-8-or-9
Quote:...
Test #1. Take the digits of the number in reverse order, from right to left, multiplying them successively by the digits 1, 3, 2, 6, 4, 5, repeating with this sequence of multipliers as long as necessary. Add the products. This sum has the same remainder mod 7 as the original number! Example: Is 1603 divisible by seven? Well, 3(1)+0(3)+6(2)+1(6)=21 is divisible by 7, so 1603 is.
...
https://www.math.hmc.edu/funfacts/ffiles/10005.5.shtmlPosted 07-19-2017 at 09:50 PM by the dsc -
LQ Questions of ... Question
I still think that canned responses only go as far as the questions added to the canned response. Simply posting the canned response will never be successful if members are not asking questions as well.
As far as burnout goes, I think that canned responses only make it worse for every one.Posted 07-30-2015 at 08:30 PM by mralk3 -
LQ Questions of ... Question
Whether scripted responses are used or individual members create their own messages to use when necessary, nothing will change without a concerted effort to change the board's culture. Whether it is because of the belief spoon-feeding is helpful, desire to accumulate reputation points, or other reasons, those people will continue to do it. That means Jeremy and the moderators educating current members by PM or e-mail when they habitually spoon-feed. Is it viable? Can the board's culture be changed? Maybe, maybe not. The point is, unless it does happen, things will not change. Personally, I doubt the culture can be changed, because it has developed over about fifteen years and is deeply ingrained in the habits of members. So I am not optimistic about the initiative's success.Posted 07-30-2015 at 01:28 AM by Randicus Draco Albus -
Posted 07-29-2015 at 11:29 AM by ardvark71 -
Posted 07-29-2015 at 09:19 AM by cynwulf -
Bash Scripting for Dummies and Geniuses
Great article. Though I know most of this, it is nice to see a well written article for beginning shell scripting, and I can see this of great use to new scripters.Posted 07-28-2015 at 10:31 PM by goumba -
Posted 07-28-2015 at 03:29 PM by Habitual -
LQ Questions of ... Question
Quote:
This is something that Jeremy and the moderators are going to have to take charge of and lead. With as many members as we have, I think even getting the majority in agreement and on the same page would be next to impossible.
Regards...Posted 07-28-2015 at 03:26 PM by ardvark71 -
LQ Questions of ... Question
It needs to be less "canned", i.e. the response needs to be an attitude shared by a significant group of members rather than this generic message being posted by a few people (which may ironically lead to those few "burning out" rather quickly) and it needs to be directed at the OP. Every member involved needs their own spin on this, but every member needs to be basically saying the same thing.
"You haven't provided enough info" should be enough of a response to a typical one sentence "Help!!!" post. You could link to the FAQ and provide a tremendous amount of info and guidelines on posting etiquette, but "Help!!!" isn't going to read it. "Help!!!" may however ready a few words which get straight to the point.
However - and this goes for canned responses as well - if you don't have all members on the same page, then it's all pretty pointless as there is not much sense in you posting such a message if four willing spoon feeders follow you with their replies.Posted 07-28-2015 at 05:09 AM by cynwulf -
LQ Questions of ... Question
What are you referring to as twaddle? The canned response? If yes, then could you tell specifically how can it be made better?Posted 07-28-2015 at 03:19 AM by Aquarius_Girl
Updated 07-28-2015 at 03:20 AM by Aquarius_Girl -
LQ Questions of ... Question
I have literally given up replying to posts that can be answered on Google.
I have better shit to do.Posted 07-27-2015 at 05:55 PM by Habitual -
LQ Questions of ... Question
Hi rtmistler...
Thank you for volunteering and trying to help combat this issue. I would agree that by itself, I don't feel canned responses are going to help very much, at least in the short term.
Regards...Posted 07-27-2015 at 05:09 PM by ardvark71
Updated 07-27-2015 at 05:11 PM by ardvark71 (Added word.) -
LQ Questions of ... Question
Nice job/work here , rtmistler . Thanks for volunteering.
From the walmart greeter member of LQ who tries his best to put new users at ease, when possible.
When they ignore me. No damage done here. Just self inflicted wounds is all I see. Because. I am not the one with the problem.
Keep up the good work, from another bro.
Edit:Quote:answering these questions and spoonfeeding (probably to gain reputation)
I give a lot of benefit of the doubt to folks I think are not as sharp as this uneducated, linux using scooter tramp.
Who already has a rep, even in the the real world.Posted 07-27-2015 at 01:55 PM by rokytnji
Updated 07-27-2015 at 01:59 PM by rokytnji -
LQ Questions of ... Question
Agreed cynwulf. And yes Aquarius, I came to learn that the poorly worded questioner was really asking about a subscription email service for zero reply threads. I've never used that.
Fact is the trick I learned with this study was in the Quick Links I've known about the zero reply threads option, there's also a "View New Posts" option and using that you see threads which have recent activity, newly posted or just newly answered. And for purposes of this study I concentrated on threads which had 0-2/3/4 replies. And you can quickly open a 5 or less reply message and figure if it's going anywhere or instead there are 3-4 regular posters who all parallel posted a question back to the OP.Posted 07-27-2015 at 10:51 AM by rtmistler -
LQ Questions of ... Question
The elephant in the living room being missed time and time again here is that the user who can't be bothered to construct a properly worded post, won't be bothered to read that either. Plus, the way it's worded, it just comes across as generic "customer services" twaddle. It in fact helps to perpetuate the idea that the forum is some kind of helpdesk.
As I said in the thread, it's a step in the right direction, but it needs to be non generic. It needs a lot of long standing members to get on board with this and just agree what the problem is and how to tackle it. When all is said and done, it's members who answer these questions and it's members who need to decide on the best course of action. Without the generic reeled off spiel, the OP of such threads needs to be informed that their post is lacking info and that they are unlikely to get any more help until the provide this or research their problem. Generic scripted stuff, will simply be ignored or "filtered out" (like all generic scripted stuff).
Finally, it's no good in blaming the new user or attempting to "educate" them. Those answering these questions and spoonfeeding (probably to gain reputation) are doing the real damage and encouraging this.Posted 07-27-2015 at 10:34 AM by cynwulf