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
774 posts
 
60%
+1 −0
Q&A Simplest way to change cursor to indicate vim mode

Question What is the simplest way to change the cursor to indicate vim mode when using zsh? Notes I want it to show as a vertical line in insert mode and a block in normal mode. This is the cur...

1 answer  ·  posted 2y ago by mcp‭  ·  last activity 1y ago by GoldenGold‭

Question zsh vim terminal cursor
60%
+1 −0
Q&A How to get number of files in directory

The obvious way to do it is: Find some way to get a list of the files Pipe it into wc to count Classically, this would be find /path/to/dir | wc. However fd does the same thing with better u...

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How do I fix a "FrankenDebian"?

I'm trying to help fix a Debian installation that has ended up with a mix of Debian release repositories, aka a "FrankenDebian". This one has the bullseye and unstable repositories listed in /etc/a...

0 answers  ·  posted 1y ago by much‭  ·  edited 1y ago by much‭

Question debian packages
60%
+1 −0
Q&A Why is there a mono version of Inconsolata?

After installing the InconsolataGo font from the Arch package extra/ttf-inconsolata-go-nerd, I see there is an Inconsolata Nerd Font, Regular and an Inconsolata Nerd Font Mono, Regular. Both are mo...

0 answers  ·  posted 1y ago by matthewsnyder‭

Question fonts
60%
+1 −0
Q&A When a command takes filenames as argument, how can I avoid creating temporary files?

Suppose I have a command that takes filenames as arguments, like: diff foo.txt bar.txt What if instead of actual files, I want to use the results of a command in each? I can use temporary files: ...

2 answers  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by Kamil Maciorowski‭

Question shell-scripting
60%
+1 −0
Q&A How to RTFM well to get a CLI command

The existing answer is good, but I'll add a short version. man FOO is the most reliable way. A large majority of programs have a man page, and a large majority of man pages cover all aspects of ...

posted 12mo ago by matthewsnyder‭

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

Cisco's OpenDNS (nothing to do with open source) has this magic domain myip.opendns.com which resolves to your own public IP address when looked up with standard DNS tools. For example with dog (o...

posted 11mo ago by Iizuki‭

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

In case Ipify stops being free: https://dnsleaktest.com/ will show you your IP. I don't know if they have an API, but it's easy to parse the HTML: https dnsleaktest.com | rg '\d+\.\d+\.\d+\.\d+' -...

posted 11mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to find product and vendor names for xorg.conf

Problem How do I find product and vendor names for use with a xorg.conf file? Neither the xorg.conf nor the xinput manuals specify how to do this. xinput lists info, but the output lacks column ...

0 answers  ·  posted 11mo ago by mcp‭  ·  edited 11mo ago by mcp‭

60%
+1 −0
Q&A An alternative to pacman sudo nag?

Some pacman functions require sudo. When I forget the sudo, you get: error: you cannot perform this operation unless you are root. I then have to press the keys: up, home, s, u, d, o, space, en...

2 answers  ·  posted 11mo ago by matthewsnyder‭  ·  last activity 10mo ago by TowerOfTurtles‭

60%
+1 −0
Q&A How do you remap mouse buttons?

Piper can be used for this. All mice supported by Piper (actually libratbag) are a result of the community reverse engineering the mouse protocol. It will not support all mice, but only selected on...

posted 10mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to count the lines of a file?

One way is to use grep: $ grep --count ^ /path/to/the/file The ^ character matches a start of a new line, so it basically counts the number of starting lines.

posted 10mo ago by Iizuki‭

Answer
60%
+4 −2
Q&A Why does Linux use the sudo command?

In Unix systems like Linux, some commands are considered dangerous and only the root user can run them. Normally, you don't login as root. So when you want to run dangerous commands, you must first...

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

Answer
60%
+1 −0
Q&A How to use the gitignore file without git(1).

How can a file list be manually filtered with a gitignore file. I want to do the equivalent of git ls-files, but it should work even if I remove .git, so I can't use git(1). Currently, I'm doing ...

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

60%
+1 −0
Q&A How to use the gitignore file without git(1).

You can fake out git as long as you have some empty Git repository available somewhere. git --git-dir=path-to-empty-repo/.git \ ls-files --others --exclude-standard

posted 10mo ago by r~~‭  ·  edited 10mo ago by r~~‭

Answer
60%
+1 −0
Q&A What is synchronization in Wine?

I'm not an expert on this at all, but so far there are no answers, so I'll try one. "Synchronization" is in the context of multithreading. For those who don't know how multithreading works: Multi...

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

Answer
60%
+1 −0
Q&A Find out which process is using a port

Use netstat -lp. Typically in such a scenario you will likely be mostly interested in IP sockets, in which case you can also add -A inet,inet6. To get numerical port numbers, add -n as well. (See ...

posted 10mo ago by Canina‭

Answer
60%
+1 −0
Q&A ldapsearch: how to ignore certificate?

This can be done by setting the LDAPTLS_REQCERT environment variable to never. For example like this when issuing the command: LDAPTLS_REQCERT=never ldapsearch -H ldaps://example.com:636 ...

posted 9mo ago by Iizuki‭

Answer
60%
+1 −0
Q&A Is there a way to automatically normalize paths when extracting RARs?

I use unrar to extract rar archives sometimes: UNRAR 6.24 freeware Copyright (c) 1993-2023 Alexander Roshal Sometimes the archive root has several files, so if I do unrar x foo.rar it will...

1 answer  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by Karl Knechtel‭

60%
+1 −0
Q&A Prettify XML in a shell

How to pretty print XML in a shell? I have command-line tool which outputs XML in a single line, totally unreadable. I would like something to pipe this into, to turn it into human readable XML wi...

1 answer  ·  posted 9mo ago by Iizuki‭  ·  edited 9mo ago by Iizuki‭

Question shell xml
60%
+1 −0
Q&A How do you remap mouse buttons?

No wonder it's hard to find good programs - it's no longer necessary! At some point this became a built in part of Xorg via xinput. The process is something like this: xinput list and find the ...

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

Answer
60%
+1 −0
Q&A How do you generate random strings from /dev/random?

Of course every language has some kind of random library... But can you generate custom random strings with just basic CLI tools? For example, we have /dev/random which provides a stream of random...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by matthewsnyder‭

Question cli random
60%
+1 −0
Q&A How do you generate random strings from /dev/random?

/dev/random is a stream of every possible value. You're supposed to filter it to take the ones you want. This is efficient, although if the values you want are such that only, say, 1% of what comes...

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

Answer
60%
+1 −0
Q&A Group and users seem to disagree about whether the users are in the group

On my current setup (running Linux Mint 20.3 Cinnamon), I have an administrative user and several ordinary users. I intend for all of these users to be in the same group, which happens to have the ...

0 answers  ·  posted 8mo ago by Karl Knechtel‭

60%
+1 −0
Q&A ==> WARNING: Possibly missing firmware for module: 'foo'

Here's the relevant ArchWiki page. The gist of it is that most of those warnings are probably for some fairly obscure hardware, and can be just ignored (provided that your system indeed works fine...

posted 8mo ago by Iizuki‭  ·  edited 8mo ago by Iizuki‭

Answer