Installing Timeshift backup on Ubuntu 24.04 LTS

Installing Timeshift backup on Ubuntu 24.04 LTS How do I install the Timeshift Backup app on Ubuntu 24.04 LTS, as it’s not listed in the App Snap Store? I want to use the GUI version of the app. In earlier versions of Ubuntu I believe it was shown as a flatpak or deb, but 24.04 …

Total answers: 1

Cron job with for loop, executing same command several times to create multiple threads

Cron job with for loop, executing same command several times to create multiple threads I’m trying to create a single-line /etc/cron.d/ cron entry, which runs the same command serveral times, essentially to create multiple threads, for long-running jobs: * * * * * usertorunas "for i in {1..6} ; do curl -s ‘https://www.example.com/path’ &>/dev/null & …

Total answers: 1

Impatient user upgraded from 23.10 to 24.04 desktop on laptop. There are several issues. Downgrade or wait for a better 24.04?

Impatient user upgraded from 23.10 to 24.04 desktop on laptop. There are several issues. Downgrade or wait for a better 24.04? As an impatient user I’ve used sudo do-release-upgrade to upgrade from 23.10 to 24.04, fully aware of the risk involved. But it seems 24.04 comes with way more issues than earlier versions. https://askubuntu.com/questions/tagged/upgrade+24.04 A …

Total answers: 1

pipe to a different file descriptor

pipe to a different file descriptor Following up on Using while loop to ssh to multiple servers, i.e., for while IFS= read -r -u9 HOST ; do ssh "$HOST" "uname -a" ; done 9< servers.txt which reads from a different file descriptor (9), How to make it read from a pipe of a different file …

Total answers: 1

bash/sed replace string of repeating string within a string

bash/sed replace string of repeating string within a string I have a file where each line represents data that may be encompassed with a string like "o o ". I need to replace the string between the encompassing characters with another string. The "internal" string is a pattern of two characters that may include an …

Total answers: 1

What is the difference between driver name and kernel module name for lshw?

What is the difference between driver name and kernel module name for lshw? Using lshw to query my WiFi USB adapter shows the following: $ lshw -C network *-network description: Wireless interface physical id: 12 bus info: usb@3:7 logical name: … serial: … capabilities: ethernet physical wireless configuration: broadcast=yes driver=rtw_8822bu driverversion=6.5.0-28-generic firmware=N/A ip=… link=yes multicast=yes …

Total answers: 1

Delete certain files from specific date in linux

Delete certain files from specific date in linux I need a command how I can delete files from a folder with specific date. Like I want to delete files before 20 April from a folder on /home/FTP and file types are mp4. Asked By: White hat Mahmud || Source This option "-mtime +12" specifies the …

Total answers: 2

Looking for a Reliable, Maintenance-Free Backup Solution for Ubuntu 24.04

Looking for a Reliable, Maintenance-Free Backup Solution for Ubuntu 24.04 I’m looking for recommendations on a reliable, easy-to-manage backup solution for my Ubuntu 24.04 system. My goal is to backup about 150GB of data, including files, images, and documents. My data is currently split between cloud services such as OneDrive and Google Photos, plus some …

Total answers: 1

Does mtrace() still work in modern distros?

Does mtrace() still work in modern distros? tldr: Does mtrace still work or am I just doing it wrong? I was attempting to use mtrace and have been unable to get it to write data to a file. I followed the instructions in man 3 mtrace: t_mtrace.c: #include <mcheck.h> #include <stdlib.h> #include <stdio.h> int main(int …

Total answers: 1

Remove /dev mount point without unmount in Host

Remove /dev mount point without unmount in Host Here is the unmount method for unmounting all previously mounted folders: https://unix.stackexchange.com/questions/61885/how-to-unmount-a-formerly-chrootd-filesystem I use the following command to mount the /sys and /dev to the chroot from the Ubuntu host: cd /path/to/chroot/ mount -t sysfs /sys sys mount -o bind /dev dev If I delete the /sys …

Total answers: 1

How can I add a property in the end of the object (text manipulation)

How can I add a property in the end of the object (text manipulation) I’m doing some text manipulation and I want to add a property (at the end) to an object named "object" that is inside a configuration file e.g . . object = { "one": "one", "two": "two", } . . Should become …

Total answers: 3

i try to set up a new resolution using xrandr. but nothing is happen. (Upuntu 23.10)

i try to set up a new resolution using xrandr. but nothing is happen. (Upuntu 23.10) First i Run ‘xrandr’ command: elhennawy@elhennawy-01:~$ xrandr Screen 0: minimum 16 x 16, current 1024 x 768, maximum 32767 x 32767 DVI-I-2 connected 1024×768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024×768 59.92*+ 800×600 59.86 …

Total answers: 1

Tar new volume script fails with "Syntax error: Bad fd number"

Tar new volume script fails with "Syntax error: Bad fd number" My shell script (see below) is failing partway through execution with "/bin/sh: 1: Syntax error: Bad fd number." This thread suggests that the problem is using the >& construction in sh, which in Ubuntu is linked to dash, which does not support >&. I …

Total answers: 1

Retrieve large number of files from remote server with wildcards

Retrieve large number of files from remote server with wildcards I’m trying to download a large number of files from a remote server. Part of the path is known, but there’s a folder name that’s randomly generated, so I think I have to use wildcards. The path is something like this: /home/myuser/files/<random folder name>/*.ext So …

Total answers: 1

updating Ubuntu server from 20.04 LTS to 22.04 LTS not 24.04 LTS

updating Ubuntu server from 20.04 LTS to 22.04 LTS not 24.04 LTS how can I update the server to a previous LTS and not the very latest one? I need to update Ubuntu server from 20.04 LTS to 22.04 LTS not 24.04 LTS. Can any one help me in this? Thank you in advance. Asked …

Total answers: 1

KDE apps can't start and leak memory

KDE apps can't start and leak memory Problem Since I upgraded to Debian 13, KDE apps won’t start and leak memory. I use these apps (Dolphin, Spectacle, etc.) without the Plasma desktop. I3 is the windows manager. I am using proprietary Nvidia drivers. I tried reinstalling the whole KDE suite, with and without the Plasma …

Total answers: 1

Given MAC address, how to tell if interface is wifi

Given MAC address, how to tell if interface is wifi Is there a way, on the command line, given a MAC address of a local network interface on the current machine (e.g. 01:23:45:67:89:ab), to determine if that interface is WiFi vs wired? I’m trying to do this in a shell script. Asked By: Jason C …

Total answers: 4