Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
8 votes
2 answers
454 views

Disabling local accounts on Azure Linux virtual machines

We’re enforcing Azure Entra authentication across all Linux VMs, so we’ll disable all local accounts via a custom script. The script will also create a single “break-glass” user with a randomly ...
Dev's user avatar
  • 81
5 votes
2 answers
120 views

Bash Script for Docker Image Cleanup

I’ve been working on a bash script to clean up old Docker images while keeping the latest tag for each repository and skipping images currently in use. I’m sharing the script below and would ...
Ilgar's user avatar
  • 51
6 votes
2 answers
737 views

Bash script to create a Termux sandbox nested in an extant Termux environment suitable for script and package installation testing

...
Beauford A. Stenberg's user avatar
-1 votes
1 answer
48 views

how to boost my script in fault tolerance ,performance and readability [closed]

...
xwj's user avatar
  • 9
5 votes
1 answer
170 views

Processing large blocklists with GNU Parallel

This is an ongoing project that has undergone a major update to speed up list processing. Here is the homepage for anyone interested. It processes lists defined in ...
T145's user avatar
  • 3,149
2 votes
1 answer
174 views

Bash script that installs Arch Linux

I wrote a bash script that installs Arch Linux. I wanted to simplify the installation of the Arch Linux system by automating things like setting locale, hostname, networking, etc. This is my second ...
whiteman808's user avatar
2 votes
0 answers
68 views

a C/Python X server interface extension package

The project is named winlin; it's a portmanteau of the words window and Linux. I'm working on a CPython extension to interact with the X server and manipulate windows. I don't have a ton of ...
gnarlyninja's user avatar
5 votes
1 answer
175 views

Creating ZFS-based rootfs for installing Linux in Bash

I've written a bash script that creates a root filesystem on ZFS for installing Debian or Arch. The purpose of this script is to make it easier installing e.g. Arch without the need to make a ZFS pool ...
whiteman808's user avatar
3 votes
2 answers
77 views

Archive, compress, remove old archive file then remove source file if below set size

I'm working on a script that will archive, compress, clear old archive files, then remove the source file if it is below a set size. The output when I tested it worked, but I just wanted a second ...
Brad Barnes's user avatar
4 votes
3 answers
488 views

A shell script to get the current battery status

Is this code well written? I'm not doing much, just rendering my battery status for my status bar but the code seems pretty long. I am new to Bash and Linux, so I thought this code could be improved ...
Diwas's user avatar
  • 111
3 votes
1 answer
253 views

Find proceses listening on the network outside of default package manager v2

So this is a follow up questions to Find proceses listening on the network outside of default package manager I managed to make it a little faster thanks to using ...
N3buchadnezzar's user avatar
4 votes
2 answers
376 views

Find proceses listening on the network outside of default package manager

I have been tinkering with a script that should list things that are listening on the network, but are not part of the base packaging manager. Currently I have only done support for fedora and debian ...
N3buchadnezzar's user avatar
5 votes
1 answer
756 views

Bash script simple countdown timer with dotted output

My goal is to have a timer function that operates from the bash linux command line. I am looking for review and feedback. Printing the expected number of characters (dots, dashes, or bars) is nice-...
Steve T's user avatar
  • 183
3 votes
2 answers
642 views

Implementation of the "tee" utility program

How can I optimize the program? To make it more optimal? The program should be more optimal in terms of source code, compiled executable size, memory usage, speed, bugs etc. Please criticize the ...
Mike's user avatar
  • 319
2 votes
2 answers
170 views

Retrieve Logs from Multiple Containers on Remote Server

Recently I had the requirement to allow multiple containers of the same application to be run on a single development server. This requirement drastically changed how we retrieve logs over SSH from ...
Brendan Lesniak's user avatar

15 30 50 per page
1
2 3 4 5
14