Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by Michael‭

24 posts
81%
+7 −0
Q&A How to count the lines of a file?

I think the typical way to do this uses wc ("word count") with the -l ("lines") option. $ wc -l /path/to/file 47 /path/to/file $ wc -l </path/to/file 47 $ cat /path/to/file | wc -l ...

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
77%
+5 −0
Q&A Confused about what "Linux" means

Richard Stallman wants you to use GNU/Linux to refer to the combination of OS and kernel that people typically call Linux. I am not a Stallman partisan one way or the other, but I think noting his ...

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
75%
+4 −0
Q&A Can I interrupt a crashing/frozen Ubuntu desktop?

Does it help you to go to a virtual terminal with Ctrl+Alt+F1 (thru F6)? Then, maybe you can kill the problematic process(es) and go back with Ctrl+Alt+F7 or Alt+F7.

posted 1y ago by Michael‭

Answer
75%
+4 −0
Q&A Install locally-compiled kernel module

I'm trying to get a hardware driver working. Someone seems to have a kernel module project, but I have to compile it locally and install it. I can install dependencies and make just fine, but inst...

1 answer  ·  posted 1y ago by Michael‭  ·  last activity 1y ago by GeraldS‭

Question kernel
71%
+3 −0
Q&A Is there a danger in using the current FreeBSD version?

No. There is no known danger. The XZ backdoor was serious and very nearly became a catastrophe, but it was patched before release. A few things happened as a result of the XZ debacle, wherein: ...

posted 7mo ago by Michael‭  ·  edited 7mo ago by Michael‭

Answer
66%
+2 −0
Q&A How to type letters for non Latin alphabets?

I would look into Keyman, especially if you have expansive or niche language needs. It's a FOSS project started in 1993, and supports 2500+ languages on Windows, Mac, Linux, iOS, and Android. Ther...

posted 11mo ago by Michael‭  ·  edited 11mo ago by Michael‭

Answer
66%
+2 −0
Q&A How can I get "help" with vanilla sh builtins?

I use man sh and then /^\s+read to get to the section of the man page that discusses the appropriate builtin. You can get a direct link to the Bash read in Debian's manpage site, which has this to...

posted 1y ago by Michael‭  ·  edited 1y ago by Michael‭

Answer
66%
+2 −0
Q&A Open Konsole as new tab

It doesn't work unless you open Konsole settings and check the option for "Run all Konsole windows in a single process." From bugs.kde.org: My bad, it happens when you turn off running all konso...

posted 1y ago by Michael‭

Answer
66%
+2 −0
Q&A Open Konsole as new tab

I want to issue a command[1] to open a certain folder in a new tab of the currently running Konsole instance (if any). There's a --new-tab option, but konsole --new-tab opens a new instance, even ...

1 answer  ·  posted 1y ago by Michael‭  ·  last activity 1y ago by Michael‭

Question kde
66%
+2 −0
Q&A Nerf an SSH login outside expected IP range

Can I restrict myself from certain actions when I SSH in from outside a certain IP range? For instance no sudo? Maybe with ~/.ssh/authorized_keys having a from="!1.2.3.4/26" option with some kind ...

1 answer  ·  posted 2y ago by Michael‭  ·  last activity 2y ago by Michael‭

Question ssh
66%
+2 −0
Q&A How do you remap mouse buttons?

Wayland, ideally If you are on Wayland, the blessed way is to use the configuration for your desktop environment (DE) to map mouse keys and other input devices, except for a couple well-known opti...

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
66%
+2 −0
Q&A How do I diagnose TLS errors?

Over some period of time, I have used a couple tools for local TLS scans and diagnostics. One of them may include pointers for whatever situation you have. Tool Description From Current? ...

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
66%
+2 −0
Q&A How do I safely replace brew on Big Sur?

If you just want the minimal set of top-level packages to install on your new system, brew leaves is less verbose than CodeFarmer's brew deps --installed. You get a nice concise list of the packag...

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
66%
+2 −0
Q&A How to find your public IP address from command-line?

There are probably myriad services for echoing your IP back over HTTP. Here are a couple: curl https://api.ipify.org curl https://ip.me curl https://icanhazip.com

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
60%
+1 −0
Q&A How do package managers track the installed files?

Homebrew has different commands for brew uninstall {package} to remove the executable(s) versus brew zap {package} which further performs arbitrary extra cleanup steps specified by the formula.[1] ...

posted 7mo ago by Michael‭

Answer
60%
+1 −0
Q&A Run an app on Phosh from the CLI

One of the applications on my phone has a field to run a CLI command. I'd like to invoke another application with that property, but I don't know where it lives. I don't see likely candidates in m...

1 answer  ·  posted 12mo ago by Michael‭  ·  last activity 12mo ago by Quasímodo‭

Question phosh
60%
+1 −0
Q&A Forbid concurrent runs of a process

Make a lock file or env variable and alias the CLI command to test for the lock before it starts the real command.

posted 2y ago by Michael‭

Answer
60%
+1 −0
Q&A How to forward SSH access of one machine, through another, to the rest of a network?

Grove's answer is likewise good, but OpenSSH introduced ProxyJump (-J) in 2016 with v7.3, making it even easier to chain SSH hosts together: ssh -J [email protected] [email protected]...

posted 3y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer
50%
+0 −0
Q&A Why does crontab have different flags for its dry-run / linter mode?

I found the Debian 13 manpage for cron(1). Notably, in the Conflicting Packages section of the sidebar, it lists cronie, whose manpage matches the ones linked in the question. I guess I could writ...

posted 2mo ago by Michael‭

Answer
50%
+0 −0
Q&A Why does crontab have different flags for its dry-run / linter mode?

If I look at my man 1 crontab, it says that crontab -n file will test the suitability of file as a parseable crontab file. If I look at man 1 crontab on Man7 or ManKier, they both say that -n does...

1 answer  ·  posted 2mo ago by Michael‭  ·  last activity 2mo ago by Michael‭

Question cron
50%
+0 −0
Q&A Run an app on Phosh from the CLI

I have determined that the specific app I want was installed as a Flatpak, meaning this is the way you open it: flatpak run com.example.Foo I'd still be interested in a generic way to determine...

posted 12mo ago by Michael‭

Answer
50%
+0 −0
Q&A how to use chromium's --proxy-server option

It's been a while since I did proxy server stuff with Chrome and friends. (I'm mostly a Firefox user.) But when I was into it, I used an extension called SwitchyOmega. That extension itself has app...

posted 1y ago by Michael‭

Answer
50%
+0 −0
Q&A How can I simply persist functions written in the current terminal session for later use?

Are you familiar with the Bash history shortcuts? The most basic is !! to refer to the last command you entered. This lets you do things like sudo !! to run the last command with privileges. You co...

posted 1y ago by Michael‭

Answer
50%
+0 −0
Q&A Nerf an SSH login outside expected IP range

authorized_keys You can make restrictions, but it's clunky and not well-standardized. A command stanza on an authorized key works like the ForceCommand on SSHD Config. It runs the one specified co...

posted 2y ago by Michael‭  ·  edited 2y ago by Michael‭

Answer