Security update missing (apt update)

Security update missing (apt update) As a sysadmin, I’m pretty aggressive about the security updates. I’m looking for the best practices when an update is missing in the official repository. Example Sept. 1st, CISA releases a security update about vmware-tools I run ‘apt update && apt upgrade’ on my Ubuntu servers, hoping to install the …

Total answers: 1

How to redirect a command for a specific application

How to redirect a command for a specific application For example, the feh program can delete the currently viewed image, presumably using the rm command at some point. Let’s say that instead of deleting the file, we want to run a trash script, say trash.sh. Is there anyway of running feh but tricking it into …

Total answers: 1

if I install 23.04 now can I upgrade it easily to 23.10 next month (Ubuntu)

if I install 23.04 now can I upgrade it easily to 23.10 next month (Ubuntu) I started downloading the 23.04 iso and realized quarter tiling is on 23.10. So I have a choice now between 22.04.04 LTS and 23.04. Wouldn’t mind trying 23.04 if I can upgrade next month to 23.10 easily. Asked By: mLstudent33 …

Total answers: 1

How can I boot a BIOS-mode platform on an UEFI station without CSM?

How can I boot a BIOS-mode platform on an UEFI station without CSM? Is it possible for GRUB or SuperGRUB to boot a platform like Debian on an UEFI station, without using CSM? What’s actually preventing that?;) Asked By: Jason Hunter || Source The short answer is that you can’t boot a system which needs …

Total answers: 1

How to modify a gzipped file with sed and then zip again the file?

How to modify a gzipped file with sed and then zip again the file? I have a .vcf.gz file, with the following aspect: #CHROM POS ID REF ALT chr1 10894 chr1:10894:G:A G A chr1 10915 chr1:10915:G:A G A chr1 10930 chr1:10930:G:A G A I want to modify the CHROM column to remove ‘chr’ and to …

Total answers: 2

how to get file path without the filename itself

how to get file path without the filename itself im trying to find my .csv files then cd into their directory: find Documents/notes -type f -name "*.csv" | head -1 | xsel -b this copies the first file dir into my clipboard and i’d like to then run: cd $(xsel -b) but ofcourse I can’t …

Total answers: 2

When is useful use "silent" for tty?

When is useful use "silent" for tty? If the tty –help command is executed it shows tty –help Usage: tty [OPTION]… Print the file name of the terminal connected to standard input. -s, –silent, –quiet print nothing, only return an exit status –help display this help and exit –version output version information and exit Therefore …

Total answers: 1

Why can't hard links reference files on other filesystems?

Why can't hard links reference files on other filesystems? I’m aware that this article exists: Why are hard links only valid within the same filesystem? But it unfortunately didn’t click with me. https://www.kernel.org/doc/html/latest/filesystems/ext4/directory.html I’m reading operating system concepts by Galvin and found some great beneficial resources like linux kernel documentation. There can be many directory …

Total answers: 5

Unattended-Upgrades configuration for custom repo only

Unattended-Upgrades configuration for custom repo only OS: LMDE 5 (based on Debian 11 Bullseye) To keep the system tidy, I use separate files to overrides the original distribution/developer configuration files wherever possible. This also prevents problems when the developer makes changes to the original config and keeps my settings safe. etc… For Unattended-Upgrades, the original …

Total answers: 1

How to add userChrome.js and config-prefs.js to firefox snap

How to add userChrome.js and config-prefs.js to firefox snap I’m tyring to follow this guide on github https://github.com/tsaost/autoload-temporary-addon I’m trying to add the files as described in that repo. Their are two files that need to be added. config-prefs.js userChrome.js so I tried adding /snap/firefox/current/usr/lib/firefox/defaults/pref/config-prefs.js and /snap/firefox/current/usr/lib/firefox/userChrome.js With the command cp /tmp/config-prefs.js /snap/firefox/current/usr/lib/firefox/defaults/pref/config-prefs.js but it …

Total answers: 1

awk on date conditions

awk on date conditions I am trying delete rows from a person.csv (below) for the condition that person who are not born in last 1 year: Dataset1: "Index","User Id","First Name","Last Name","Date of birth","Job Title" "1","9E39Bfc4fdcc44e","new, Diamond","Dudley","06 Dec 1945","Photographer" "3","32C079F2Bad7e6F","Ethan","Hanson","08 Mar 2014","Actuary" "2","aaaaaaa, bbbbbb","Grace","Huerta","21 Jan 2023","Visual merchandiser" So, the expected output would look like(last row got …

Total answers: 5

iptables allow host for isolated VLAN

iptables allow host for isolated VLAN I’m having a real trouble trying to do a "simple" tweak in my network. So: there are two sites, A and B and are connected via IPsec and there’s no problem in communication between them. each site has two VLANs, main and guest: main is 192.168.55.0/24 for A and …

Total answers: 1

How can I turn off a USB Lamp in Ubuntu?

How can I turn off a USB Lamp in Ubuntu? I bought a USB lamp that I want to turn ON/OFF using commands (my purpose is to setup some CRON jobs to turn it ON at certain times). I researched several answers, but none worked. I tried outputting to /sys/bus/usb/drivers/usb/unbind, /sys/bus/usb/devices/usb1/power/level, the uhubctl tool, using …

Total answers: 1

Iptables, subnet rule overwriting ip rule

Iptables, subnet rule overwriting ip rule I want to DROP all packet that come from the subnet 192.168.112.0/24 with destination 192.168.112.0/24 but I want to allow only a specific destination to be accessible (192.168.112.253). I am using the following rules, the first (DROP) rule is working as expected dropping all packets but the second (ACCEPT) …

Total answers: 2

mysql-common : Conflicts: mysql-server-8.0 but 8.0.34-0ubuntu0.22.04.1 is to be installed

mysql-common : Conflicts: mysql-server-8.0 but 8.0.34-0ubuntu0.22.04.1 is to be installed sudo apt-get purge mysql-client-8.0 mysql-server-8.0 mysql-server-core-8.0 Reading package lists… Done Building dependency tree… Done Reading state information… Done Package ‘mysql-client-8.0’ is not installed, so not removed Package ‘mysql-server-8.0’ is not installed, so not removed Package ‘mysql-server-core-8.0’ is not installed, so not removed 0 upgraded, 0 …

Total answers: 1