Activity for AdminBeeā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #289799 |
Please edit your post to add the expected result. (more) |
— | 2 months ago |
Comment | Post #288734 |
There I am back below 100 again ... ;) (more) |
— | 2 months ago |
Comment | Post #289619 |
This may sound like nitpicking, but do you by "new" mean a _different_ IP address than the current one, or is renewal of the existing lease also acceptable? (more) |
— | 3 months ago |
Edit | Post #289401 |
Post edited: For full command-line reproductions, block code format is recommended. Use inline code for mentioning command names and options. |
— | 3 months ago |
Suggested Edit | Post #289401 |
Suggested edit: For full command-line reproductions, block code format is recommended. Use inline code for mentioning command names and options. (more) |
helpful | 3 months ago |
Edit | Post #289467 |
Post edited: Fix (probably) intended formatting |
— | 3 months ago |
Suggested Edit | Post #289467 |
Suggested edit: Fix (probably) intended formatting (more) |
helpful | 3 months ago |
Edit | Post #287821 |
Post edited: Fix typo in title, replace abbreviations, minor re-tag (Q is about zsh keybindings in the python interpreter, not vim per se) |
— | 4 months ago |
Edit | Post #289201 |
Post edited: Make title more concrete to the part of the output in question; shorten the output lines so that they fit without hor. scroll bars. |
— | 4 months ago |
Edit | Post #289203 |
Post edited: Explain column values |
— | 4 months ago |
Edit | Post #289203 |
Post edited: Add TL/DR |
— | 4 months ago |
Suggested Edit | Post #289201 |
Suggested edit: Make title more concrete to the part of the output in question; shorten the output lines so that they fit without hor. scroll bars. (more) |
helpful | 4 months ago |
Edit | Post #289203 |
Post edited: Improve explanation and link to code fragment that controls the output |
— | 4 months ago |
Edit | Post #289203 |
Post edited: Fix indentation |
— | 4 months ago |
Edit | Post #289203 |
History hidden: Detailed history before this event is hidden because of a redaction. |
— | 4 months ago |
Edit | Post #289203 |
Post edited: Amend original explanation |
— | 4 months ago |
Edit | Post #289203 | Initial revision | — | 4 months ago |
Answer | — |
A: What does the "Valid" column mean in the output of "faillock"? A good explanation is given on the RedHat Customer Portal. TL/DR: The `Valid` field indicates whether a record counts toward the lockout threshold (`V`) or not (`I`). The key seems to be the meaning of the `failinterval` configuration setting. From the manpage of `faillock.conf`: > `deny=n` > >... (more) |
— | 4 months ago |
Suggested Edit | Post #287821 |
Suggested edit: Fix typo in title, replace abbreviations, minor re-tag (Q is about zsh keybindings in the python interpreter, not vim per se) (more) |
helpful | 4 months ago |
Edit | Post #288977 |
Post edited: Use same script name throughout |
— | 4 months ago |
Edit | Post #288977 |
Post edited: Updated command |
— | 4 months ago |
Edit | Post #288752 |
Post edited: Correct grammar |
— | 4 months ago |
Comment | Post #289034 |
Please consider adding the (possibly anonymized) output of `ls -l` for that file to your question, so that we can see what the current owner/permissions are (for easier interpretation of the error message). Also, please explain _when and where_ you got this message: Was it printed to the console when... (more) |
— | 4 months ago |
Edit | Post #288977 |
Post edited: Add script-file solution for convenience |
— | 5 months ago |
Edit | Post #288977 |
Post edited: Include note on how to turn off whitespace-trimming on the non-empty lines. Use [:blank:] instead of [:space:] since only horizontal whitespace is to be trimmed there. |
— | 5 months ago |
Edit | Post #288934 |
Post edited: Re-tag, since the task is text-processing and not restricted to files, and the central issue is not the newline character. Tried to clarify the task description from my interpretation of the OP's self-answer. |
— | 5 months ago |
Suggested Edit | Post #288934 |
Suggested edit: Re-tag, since the task is text-processing and not restricted to files, and the central issue is not the newline character. Tried to clarify the task description from my interpretation of the OP's self-answer. (more) |
helpful | 5 months ago |
Edit | Post #288977 |
Post edited: Break text for readability |
— | 5 months ago |
Edit | Post #288977 |
Post edited: One prompt is enough |
— | 5 months ago |
Edit | Post #288977 |
Post edited: Make explanation clearer |
— | 5 months ago |
Edit | Post #288977 | Initial revision | — | 5 months ago |
Answer | — |
A: Simplest way of stripping leading/trailing whitespace from file or program output If I understand you correctly, you want to skip empty lines at the beginning of a file/stream strip leading and trailing whitespace of non-empty lines skip empty lines at the end of a file/stream.[]() This can be achieved using the following `awk` program: ```lang-bash awk 'NF==0{if (m) {b... (more) |
— | 5 months ago |
Comment | Post #288849 |
In order to avoid getting answers that you already know won't work, please expand the question to add more details: Did you try with `sudo apt install` and got any errors? If not, how do you conclude that `mysql-server` cannot be installed that way? Is there any other method you tried?
(more) |
— | 5 months ago |
Edit | Post #288752 |
Post edited: Add link to the mentioned discussion(s) |
— | 5 months ago |
Edit | Post #288752 | Initial revision | — | 5 months ago |
Answer | — |
A: Should posting on Meta affect reputation? Although my reputation would shrink substantially if that change were implemented ;) , I think it is the right choice to prevent votes on meta from affecting the reputation. The reason is that the very existence of this summary indicator can only be justified (cf. discussions on whether reputation... (more) |
— | 5 months ago |
Edit | Post #287333 |
Post edited: Minor rephrasing and reformatting, remove duplicating tags, add tag "software-installation" |
— | 5 months ago |
Edit | Post #288607 |
Post edited: Link to the question tagged "installation" |
— | 5 months ago |
Edit | Post #288607 | Initial revision | — | 5 months ago |
Question | — |
Split "installation" into "OS-installation" and "software-installation" I would like to recommend splitting the "installation" tag into one for "OS-installation" and "software-installation". Although both are installation processes, the challenges associated with them are very distinct, which I believe justifies the new tags. The impact can be kept minimal by simply r... (more) |
— | 5 months ago |
Suggested Edit | Post #287333 |
Suggested edit: Minor rephrasing and reformatting, remove duplicating tags, add tag "software-installation" (more) |
helpful | 5 months ago |
Edit | Post #288562 |
Post edited: Add notice on correct syntax for GNU BRE extension as used in GNU `sed` without `-E`. |
— | 5 months ago |
Comment | Post #288562 |
@Quasimodo Funny, I had never noticed that GNU `sed` implements something like `\+`. Now that you notified me (thank you, btw), I looked up the documentation and - of course it's written there. I should include a notice on that in the answer.
And nice to see you (and many others, as I found out), to... (more) |
— | 5 months ago |
Edit | Post #288436 |
Post edited: Minor improvement to formatting (all text belonging to one bullet stays indented, code formatting for literal command and option names), use more accessible names for the example programs in question |
— | 6 months ago |
Edit | Post #288562 |
Post edited: Correct strange typos |
— | 6 months ago |
Edit | Post #288562 |
Post edited: Add notice on why `+` wouldn't work with the `sed` invocation as-is |
— | 6 months ago |
Comment | Post #288562 |
Be careful, `+` is [ERE syntax](https://en.wikipedia.org/wiki/Regular_expression#POSIX_basic_and_extended). However, when invoked without the `-E` flag, `sed` will use BRE, which doesn't know `+`. There, you would need to use explicit range indicators as in `\{1,\}` (and here, the `\` would actually ... (more) |
— | 6 months ago |
Comment | Post #288554 |
Plus, performing smaller updates on a regular basis is less likely to break the installation, as opposed to one large update. (more) |
— | 6 months ago |
Edit | Post #288562 | Initial revision | — | 6 months ago |
Answer | — |
A: Can I enter raw strings in fish to avoid escaping regexes for sed? It is not the most elegant solution, but you may be able to use the `string escape` function of `fish`, as in: ```lang-shell echo abc | sed -E (string escape 's/b+/X/') ``` This would still escape the special characters, but in a "hidden" way - the user-visible RegEx is not cluttered with backsla... (more) |
— | 6 months ago |
Comment | Post #288541 |
As for adding a tag description: [this help page](https://linux.codidact.com/abilities/edit_tags) explains that to earn this ability you need a minimum of 76 approved edit suggestions. If I read your user profile correctly, you only have 11 edits so far, so this is likely the reason you can't (yet). (more) |
— | 6 months ago |
Suggested Edit | Post #288436 |
Suggested edit: Minor improvement to formatting (all text belonging to one bullet stays indented, code formatting for literal command and option names), use more accessible names for the example programs in question (more) |
helpful | 6 months ago |
Edit | Post #288311 |
Post edited: Minor clarification, as "print0" is not a POSIX-mandated option for find |
— | 6 months ago |
Comment | Post #288401 |
The Wikipedia page on Filenames has a nice [comparison table](https://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limitations) on which characters are allowed on various file systems. (more) |
— | 6 months ago |
Suggested Edit | Post #288311 |
Suggested edit: Minor clarification, as "print0" is not a POSIX-mandated option for find (more) |
helpful | 6 months ago |
Edit | Post #288392 |
Post edited: |
— | 6 months ago |
Edit | Post #288392 |
Post edited: Add clarification |
— | 6 months ago |
Edit | Post #288392 | Initial revision | — | 6 months ago |
Answer | — |
A: How to get number of files in directory A solution I often use (and which is ultimately a variation of the `find`-based approach in the answer by Canina) also uses `find`, but only prints a single `.` per file: ```lang-bash find . -maxdepth 1 -type f -printf '.' | wc -m ``` It then uses the `-m` flag of `wc` to print the number of char... (more) |
— | 6 months ago |
Comment | Post #288311 |
You may want to add a warning that parsing the output of `find` is strongly discouraged, because it will stumble on filenames with non-standard characters, which can actually include the new-line (although the most common pitfall in these scenarios is the space character). The `parallel` approach usi... (more) |
— | 6 months ago |