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
 
66%
+2 −0
Q&A Can rsync handle moves and renames?

Suppose I have a directory structure like ├── src │   ├── folder_a │   │   ├── file_w │   │   └── file_x │   ├── folder_b │   │   ├── file_y │   │   └── file_z and I back it up using rsyn...

1 answer  ·  posted 4mo ago by Karl Knechtel‭  ·  edited 4mo ago by Karl Knechtel‭

Question filesystem rsync
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 4mo ago by matthewsnyder‭  ·  last activity 3mo ago by TowerOfTurtles‭

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 4mo ago by mcp‭  ·  edited 4mo ago by mcp‭

50%
+0 −0
Q&A How to find user's id (UID)?

With the id command: $ id --user linus

posted 4mo ago by Iizuki‭

Answer
50%
+0 −0
Q&A How to find user's id (UID)?

How to lookup user-id with the user's name? E.g. What's the UID of user linus?

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 4mo ago by Iizuki‭

Question uid
66%
+2 −0
Q&A Show a timestamp on the right side of prompt when executing a command in ZSH

The preexec function is called right before executing commands, so it's the place to do this sorta things. This solution is adapted from Dan Berindei's original answer (CC BY-SA 3.0) to a related ...

posted 4mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Show a timestamp on the right side of prompt when executing a command in ZSH

How to configure ZSH shell to print a timestamp on the right hand side of the prompt line when executing a command? I don't want to display the time prior to executing a command. Here's about how ...

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 4mo ago by Iizuki‭

Question zsh
50%
+0 −0
Q&A How do I safely replace brew on Big Sur?

You can try to search your shell's history for brew install. Every shell has its own history command, but for example on fish I can do history | rg brew install. (rg is https://github.com/BurntSush...

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

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 4mo ago by Michael‭  ·  edited 4mo ago by Michael‭

Answer
50%
+0 −0
Q&A How to check spam headers of EML file from command line?

If I have an email in EML format, how can I determine its spam status from the terminal? My mail provider appears to insert a X-Acme-Spam-Status header. It looks like X-Acme-Spam-Status: v=1; e=b...

0 answers  ·  posted 4mo ago by matthewsnyder‭

Question terminal cli email spam
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 5mo ago by matthewsnyder‭

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

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 5mo ago by Iizuki‭

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

ip a command will conveniently show the addresses assigned to your network interfaces, but oftentimes this is not what the internet sees your machine as. So how to find your public IP address from...

3 answers  ·  posted 5mo ago by Iizuki‭  ·  last activity 3mo ago by Michael‭

50%
+0 −0
Q&A Albert with compositor surrounded by ghost of other windows

On Arch Linux, I installed albert (from AUR) and picom as the compositor. I am using i3 as the window manager. When I bring up the albert window, it is surrounded by the ghost of a window in the b...

0 answers  ·  posted 5mo ago by matthewsnyder‭

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 5mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A Looking for a way to sync dotfile content between different machines without introducing security issues

Git is a very good way to sync dotfiles. There are other sync methods, but git also gives you version control, which is the other crucial part of the dotfile approach. Dealing with secrets in git ...

posted 5mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Is it safe to completely take over ~/.config/systemd/user?

~/.config/systemd/user intended purely for units created and managed by the user manually, or are there any automated processes that expect to control it? For example, do packages or programs ever...

0 answers  ·  posted 5mo ago by matthewsnyder‭

Question systemd
60%
+1 −0
Q&A Can you put systemd units under a custom path?

The systemd manual gives a list of path where systemd looks for unit files. However, I want to isolate my units in a path of my own choosing. Is it possible to configure systemd to add some path t...

1 answer  ·  posted 5mo ago by matthewsnyder‭  ·  last activity 11d ago by Cadence‭

50%
+0 −0
Q&A Can I confine an executable inside a Docker container using a host apparmor profile?

I'm trying to containerize an application that currently uses apparmor to confine Python. This allows sandboxing of user-submitted code. How can I get docker and apparmor to play well together? Cu...

0 answers  ·  posted 5mo ago by much‭

Question docker apparmor
50%
+0 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

Airflow is a distributed workflow manager intended for complex cloud computing use. However, it can be used to run tasks locally. You can run Airflow in single-node mode, with LocalExecutor, and w...

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

Answer
60%
+1 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

Historically, cron was the main way to schedule tasks on Linux. Briefly, there will be some file like /etc/crontab which will contain one line for each task. The line starts with a schedule string ...

posted 5mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

The standard way to schedule tasks in most Linux systems nowadays is to use systemd timers. This requires writing a systemd timer config file, which has syntax similar to INI. This is summarized i...

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

Answer
66%
+2 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

What is a modern and practical way to handle scheduling tasks on a Linux desktop? Modern means basic features should not rely on obscure or convoluted commands and standards Practical means you...

3 answers  ·  posted 5mo ago by matthewsnyder‭  ·  edited 5mo ago by matthewsnyder‭

75%
+4 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

for file in in chapter-*.xhtml do sed -ir "12s/\b([A-Z])([A-Z]+)/\1\L\2/g;" "$file" done This -ir tells GNU-sed so alter the file in place (-i) and use regexp-extended (-r). For line 12...

posted 6mo ago by user-unknown‭  ·  edited 2mo ago by Mithical‭

Answer