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 »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
575 posts
 
81%
+7 −0
Q&A How to convert PDF to docx

Pdf is one of the most unsuitable file formats to use as a starting point for converting it to docx. A pdf by itself is pretty much "dumb", it knows the position of letters etc, but not much more. ...

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

Answer
81%
+7 −0
Q&A Recursively remove files with the same name as the ones that end in `.part`

It is incorrect for two reasons. 1. File names containing glob characters This is an edge case scenario. Consider this structure: . ├── abc ├── abc.part ├── cde └── c*e.part The outermos...

posted 1y ago by Quasímodo‭  ·  edited 1y ago by Quasímodo‭

Answer
81%
+7 −0
Q&A What unexpected things can happen if a user runs commands expecting a text file on input lacking a file-final newline?

It is often taught that in Unix/Linux text files should end with newline characters. The reason given (orally) to me by various sources was that "some commands (such as wc) assume or require a newl...

3 answers  ·  posted 11mo ago by Lover of Structure‭  ·  last activity 11d ago by mirabilos‭

81%
+7 −0
Q&A Do shells have anything to do with port forwarding or port triggering?

Port forwarding is something a router does. Port triggering is basically port forwarding that's enabled when a connection attempt is detected and then automatically disabled. That's also handled ...

posted 3y ago by LawrenceC‭

Answer
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 3mo ago by Michael‭  ·  edited 1mo ago by Michael‭

Answer
80%
+6 −0
Q&A How to figure out the licenses of files installed from packages?

The Debian Administrator's Handbook: The Inner Workings of the Debian Project: Documentation for each package is stored in /usr/share/doc/package/. (...) The copyright file includes information ...

posted 2y ago by Quasímodo‭

Answer
80%
+6 −0
Q&A A shell script that can run under different shells

I have a shell script with a syntax compatible to both bash and zsh, except for a section that has zsh specific syntax that throws syntax errors if sourced from bash. Is there an easy way to escap...

2 answers  ·  posted 2y ago by 4015.alt‭  ·  last activity 2y ago by mjy‭

80%
+6 −0
Q&A Why is Pause/Break key is immediately released? Can that be fixed?

From Wikipedia: Break key: The Pause key is different from all other keys in that it sends no scancodes at all on release in PS/2 modes 1 or 2, so it is impossible to determine whether this key ...

posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

Answer
80%
+6 −0
Q&A How do I deal with a "pending update to "snap-store" snap, close the app to avoid disruption" notification in Ubuntu 22.04?

For several days now, I've been getting a notification telling me that there's a pending update to the "snap-store", and to close the app to avoid disruption. I first got this notification while...

1 answer  ·  posted 1y ago by Mithical‭  ·  last activity 1y ago by Quasímodo‭

Question ubuntu
80%
+6 −0
Q&A Why is Pause/Break key is immediately released? Can that be fixed?

Since the Pause key is useless, I tried to map it to a modifier key. What is straightforward for other keys turned out not to work fine for Pause. By inspecting the output of xev -event keyboard |...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

Question keyboard-event
80%
+6 −0
Q&A What are the correct permissions for `~/.ssh/config`?

I got this message: Bad owner or permissions on /Users/rbiaa065/.ssh/config What should the permissions be to make ssh happy?

1 answer  ·  posted 10mo ago by wassied‭  ·  last activity 10mo ago by r~~‭

Question ssh
80%
+6 −0
Q&A How does the root user locate executables?

but it clearly does see that change. Nope. Your environment is being reloaded in the sudo process. sudo echo $PATH gives the same result as echo $PATH because $PATH is expanded by your shell ...

posted 8mo ago by r~~‭

Answer
80%
+6 −0
Q&A How to RTFM well to get a CLI command

I've been met with the phrase RTFM often. I recognize its value. However, the manual pages are often hard to understand and written by people who know so much about the topic at hand that they don'...

2 answers  ·  posted 6mo ago by LAFK‭  ·  last activity 5mo ago by matthewsnyder‭

Question man-page
80%
+6 −0
Q&A Looking for a way to sync dotfile content between different machines without introducing security issues

I switch between three computers and have never been able to keep my dotfiles in sync. I cannot put them into source control because they contain sensitive data. So, my question is: how do I share ...

3 answers  ·  posted 6mo ago by paulsweatte‭  ·  last activity 5mo ago by matthewsnyder‭

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

I have a setup with two Raspberry PIs, a CM3 module with only a USB connection to the outside, and the Pi4 with a lot of connectors. I set up things such that CM3 functions as USB Gadget, and once...

3 answers  ·  posted 3y ago by CanisSomnolentus‭  ·  last activity 12d ago by Michael‭

80%
+6 −0
Q&A Does /proc/config.gz always contain all supported options of a kernel?

Assuming I have a running Linux system that has the /proc/config.gz file: Does the (unpacked) file always contain all of the options the particular kernel supports, including commented out like: ...

1 answer  ·  posted 3y ago by sktpin‭  ·  edited 1y ago by Quasímodo‭

80%
+6 −0
Meta Should posting on Meta affect reputation?

When we launched this community, we did not yet have the ability to set different reputation grants for different categories. We've had this for a while but we failed to follow up before now, sorr...

1 answer  ·  posted 11mo ago by Monica Cellio‭  ·  edited 8mo ago by ArtOfCode‭

80%
+6 −0
Q&A How do I view fonts?

How can I view font files, like .ttf, in Linux? I'd like to see a sample of the font (quick brown fox...) and metadata about it (like exact name).

2 answers  ·  posted 11mo ago by matthewsnyder‭  ·  last activity 11mo ago by andrew.46‭

Question arch-linux fonts
80%
+6 −0
Q&A Vim key bindings not working in terminal python interpreter

Python's interactive interpreter uses GNU Readline, so Bash's line interpreter, not Zle, which is Zsh's. Therefore, when you enter python, the cursor either won't change or will change accordingly...

posted 1y ago by Quasímodo‭

Answer
80%
+6 −0
Q&A How do I view fonts?

I use KDE with Slackware -current so: KDE Plasma Version 5.27.3 and this has a quite serviceable Font Manager that can be found from: System Settings --> Appearance --> Font Management Bu...

posted 11mo ago by andrew.46‭

Answer
77%
+5 −0
Q&A How to convert Flac to Mp3 with FFmpeg?

I have a directory filled with Flac audio files and I would like to convert them all to Mp3. How do I go about this using FFmpeg? I am using the git FFmpeg and Slackware -current.

2 answers  ·  posted 11mo ago by andrew.46‭  ·  last activity 11mo ago by matthewsnyder‭

Question FFmpeg Mp3
77%
+5 −0
Q&A How to run a command on a list of files?

There are several options, like xargs and for. I'll leave those for other answers and only describe my favorite, GNU Parallel. You will have to install it separately, because unlike the inferior xa...

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

Answer
77%
+5 −0
Q&A How to get number of files in directory

Populate an array of the file names and then print how many entries are in the array: $ files=( * ) $ echo "${#files[@]}" 124 That will work correctly even if your file names contain newlines...

posted 1y ago by Ed Morton‭

Answer
77%
+5 −0
Q&A When a command takes filenames as argument, how can I avoid creating temporary files?

What you're looking for is called process substitution. In Bash and many bash-like shells, you can use <(foo_command --with --arguments) instead of the file path: diff <(ls /home/alice) &lt...

posted 11mo ago by matthewsnyder‭  ·  edited 11mo ago by BryKKan‭

Answer
77%
+5 −0
Q&A Copy to clipboard from terminal with Vim bindings

Question How do I copy to clipboard from terminal with yy, assuming it's configured to use Vim bindings? I am using zsh with bindkey -v. MWE Enter something on the commandline (without pressi...

2 answers  ·  posted 1y ago by mcp‭  ·  last activity 9mo ago by Mithical‭