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
558 posts
 
87%
+12 −0
Q&A Run a command *later*

The traditional way on a *nix system to run a one-time command at some specified future time is at. $ at 'now + 10 minutes' at Wed Aug 23 19:00:00 2023 at> date >> ~/current-time at&gt...

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

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

There are several ways that I can think of, depending on how correct you need the answer to be, particularly in exotic situations, and exactly what you want to count. If you know that you don't ha...

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

Answer
87%
+12 −0
Q&A How to give password in shell script?

That's my bash script. Actually, no, it isn't. Assuming for a second that the shebang line is #!/bin/sh (not #!bin/sh as you have it in the question), it's a sh shell script, not a bash shell ...

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

Answer
87%
+12 −0
Q&A Which Linux system to use?

Beginners should always start with a Linux that people around them are using. If they have friends using Red Hat, they should use Red Hat. If they have a local users' group with lots of Ubuntu user...

posted 2y ago by dsr‭

Answer
86%
+11 −0
Q&A In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?

I have a handful of shell scripts that accept any number of command line arguments, then do some relatively expensive processing based on each command line argument in turn. The general format for ...

3 answers  ·  posted 2y ago by Canina‭  ·  last activity 2y ago by Quasímodo‭

86%
+11 −0
Q&A Run a command *later*

Using systemd timers is too much work? Not with systemd-run! systemd-run --user --on-active=10min some_cmd

posted 8mo ago by r~~‭

Answer
84%
+9 −0
Q&A Documentation for double asterisk glob expansion

The ** pattern is an extension to, not a part of, the POSIX glob syntax. While it has emerged as an informal standard, AFAIK there is no single standard to reference to describe what it does. This...

posted 8mo ago by r~~‭

Answer
84%
+9 −0
Meta How can we grow this community?

Codidact's communities have a lot of great content that is helping people on the Internet. Our communities are small, though, and sustainable communities depend on having lots of active, engaged p...

5 answers  ·  posted 2y ago by Monica Cellio‭  ·  last activity 8m ago by matthewsnyder‭

84%
+9 −0
Q&A A shell script that can run under different shells

I'm not familiar with zsh, but it seems to me that your problem here is that the syntax for for loops is different in bash and zsh, which throws bash off as it tries to interpret your script, finds...

posted 2y ago by Canina‭

Answer
84%
+9 −0
Q&A What are phased updates, and why does Ubuntu use them?

So I ran into that weird "packages being held back" problem while updating my system using apt. After some research, it appears to be the result of "phased updates". What are phased updates, any...

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

Question apt updates
84%
+9 −0
Meta Welcome to Linux Systems!

Welcome to the Codidact community for Linux Systems! We're glad you're here and we're excited to see what you will build. This community is starting "from scratch", without importing Q&A from...

0 answers  ·  posted 3y ago by Monica Cellio‭

84%
+9 −0
Q&A Adding Python 3.11 to `$PATH`

There are two possible issues that I can see. First, as already brought up in a comment thread, it appears that the export command you added in your .bashrc is missing a final ". This should cause...

posted 1y ago by Canina‭

Answer
83%
+8 −0
Q&A Are there any legitimate uses for newlines in filenames?

Unix is very permissive with filenames, and this can sometimes lead to a bunch of annoying corner cases when printing files. A well known example is when you put a newline in a filename, and it bre...

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

Question filesystem
83%
+8 −0
Q&A How do I view fonts?

In GNOME, gnome-font-viewer does this.

posted 11mo ago by r~~‭

Answer
83%
+8 −0
Meta Should posting on Meta affect reputation?

Although my reputation would shrink substantially if that change were implemented ;) , I think it is the right choice to prevent votes on meta from affecting the reputation. The reason is that the...

posted 10mo ago by AdminBee‭  ·  edited 9mo ago by AdminBee‭

Answer
83%
+8 −0
Meta How can we grow this community?

Firstly, as an official Ubuntu Member who frequents the tech support IRC channels, I think I can help with getting more activity here. One of the most recent "whoa what happened here" events in th...

posted 1y ago by ArrayBolt3‭

Answer
83%
+8 −0
Q&A What are phased updates, and why does Ubuntu use them?

What are phased updates? Phased updates are software updates that are gradually rolled out to users rather than all users getting the updates at the same time. In an update system that doesn't use...

posted 1y ago by ArrayBolt3‭

Answer
83%
+8 −0
Q&A In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?

Bash Here Bash's associative arrays come handy. The idea is to put every argument as a key in a separate array, and then only process arguments that are not keys to that array. #!/bin/bash decla...

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

Answer
83%
+8 −0
Q&A Ergonomic way to search man pages

Unix systems are made out of many small tools that focus on specific tasks but are general enough that the investment made in learning their specific switches and hotkeys pays off over many applica...

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

Answer
81%
+7 −0
Meta Who should the temporary moderators be?

Especially considering the limited apparent interest thus far, I'll throw my hat into the ring and see what happens. Canina I have previous moderator experience from elsewhere (am currently a mod...

posted 2y ago by Canina‭

Answer
81%
+7 −0
Q&A What partition type should be used for cross-platform FAT partitions?

Question What partition type should I use for FAT partitions such that Linux and Windows systems both recognize the drive? Notes I am partitioning the drive with fdisk and making the filesystem ...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by Ullallulloo‭

81%
+7 −0
Q&A Make Less use a normal view instead of hexdump view

As I noted in a comment thread, I don't get the same behavior as you do (nor do I recall ever seeing it on any system), which points toward something about your setup. Apparently in response to the...

posted 2y ago by Canina‭

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

How do you find out the number of files in a directory from the command line?

4 answers  ·  posted 2y ago by mcp‭  ·  last activity 11mo ago by AdminBee‭

Question bash zsh ls
81%
+7 −0
Q&A What does a minimal /etc/hosts need to contain?

I run an environment that, until recently, did all local name resolution by putting names in /etc/hosts. I'm in the process of replacing that with local DNS. The DNS part works fine, and now I'm tr...

1 answer  ·  posted 2y ago by ajv‭  ·  last activity 2y ago by dsr‭

Question linux hosts
81%
+7 −0
Meta How can we grow this community?

TL;DR: The problem is not with stuff on the platform that needs fixing. The problem is that the platform appears dead. I'm still at the "old" platform, and a moderator on a tiny site (Arts & C...

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

Answer