Comment by Kamil Maciorowski on how to alignment the different TYPEs that...
I told you I was going to downvote your cross-posted questions. I'm doing this right now. You were told several times cross-posting is wrong.
View ArticleAnswer by Kamil Maciorowski for In Linux, how can I find which running...
If your find supports -ls and there is some deleted exectutable running, then this commandsudo find /proc -name exe ! -path "*/task/*" -ls 2>/dev/null | grep ' (deleted)$'will probably generate a...
View ArticleComment by Kamil Maciorowski on How do I find what company an email domain is...
In general you cannot.
View ArticleComment by Kamil Maciorowski on BTRFS Still showing errors after deleting files
There is no question in your "question". As "why?" is different than "how to fix?" or "is it safe to keep using the filesystem?", do not let us guess what your question is. Please [edit] and ask an...
View ArticleComment by Kamil Maciorowski on Sudo privileges without access to others home...
"but other users only have access to the sudo commands that are not in blacklist" – This won't work.
View ArticleComment by Kamil Maciorowski on force stop pending sector reads on a WD drive
"the moment it's plugged in" – In what OS? From bad to best: Some systems may try to mount the filesystem(s). Some may read the partition table automatically, but nothing more. Some(?) may read nothing...
View ArticleComment by Kamil Maciorowski on Overlayfs hide lower overlay
It was me. You had reacted to my comments, so they were no longer needed; so I deleted them. You said I "still understood", but no. The issue was I did not understand, I guessed. Now there is nothing...
View ArticleComment by Kamil Maciorowski on How would I send console output like an echo...
@KaranPatel You need to run a tmux client where you want to see the output and the client needs to attach to the session (tmux attach-session -t foo) and to reconfigure the terminal being its stdout....
View ArticleComment by Kamil Maciorowski on Create shortcuts for every exe in a series of...
There are clues that the OS is Windows, still this should be stated explicitly. What is the OS?
View ArticleComment by Kamil Maciorowski on How do I paste bash commands that contain...
Does the behavior improve after bind 'set enable-bracketed-paste on'?
View ArticleAnswer by Kamil Maciorowski for How do I paste bash commands that contain...
AnalysisA possible cause may be the use_pty flag. See man 5 sudoers [emphasis mine]:use_ptyIf set, and sudo is running in a terminal, the command will be run in a new pseudo-terminal. If the sudo...
View ArticleComment by Kamil Maciorowski on How to count word frequency with grep (or...
@joseph22 Clarification should be in the question, not in comments. Preferably not as an addendum at the end, but wherever fits best to make the question neat.
View ArticleComment by Kamil Maciorowski on Checking HDD drives for physical errors -...
Will this check the whole disk? Or just the partition with the filesystem? (even with a single partition of max size there are still sectors not assigned to it). Or just the fragment used by the...
View ArticleComment by Kamil Maciorowski on Is there a way to sort command-line commands...
Some ideas. (1) If your $PATH contained a directory full of symlinks named wasi-sdk.something, including wasi-sdk.clang pointing to the right clang, then wasi-sdk.clang would work, I guess. (2) use may...
View ArticleComment by Kamil Maciorowski on How to pass a for loop commandline argument...
Does path\to\file indicate that the local OS is Windows? It probably does not matter, but please be specific. The remote OS looks like Linux/Unix. Is this right?
View ArticleComment by Kamil Maciorowski on How do I determine which line has too many...
[ -d "$dir ] and [ -f "$file ]. Fix the quoting.
View ArticleAnswer by Kamil Maciorowski for Is there a way to sort command-line commands...
First, create a suitable directory structure:# your desired namespacemkdir -p -- "$HOME"/.namespaces/wasi-sdk# some testing namespacesmkdir -p -- "$HOME"/.namespaces/bar "$HOME"/.namespaces/baz...
View ArticleComment by Kamil Maciorowski on Symbolic links and moving directories
"will the link update or do I have to…" – What stops you from trying this scenario on an expendable test folder or so?
View ArticleComment by Kamil Maciorowski on echo printf output in two lines for some...
Related: Determine if output is stdout or stderr.
View ArticleComment by Kamil Maciorowski on How do I determine which line has too many...
[ -d "$dir ] and [ -f "$file ]. Fix the quoting.
View Article