Linux , 3 ways to keep long running processes in background

Linux , 3 ways to keep long running processes in background
  In Linux, there are several ways to keep a long running process running in the background. Here are a few common methods: Using & to run the command in the background: You can run a command in the background by appending an ampersand (&) to the end of the command. For example, to run a process called myprogram in ...

Fix mount error(95): solved! Operation not supported SMB 39

Fix mount error(95): solved! Operation not supported SMB
Mounts SMB/CIFS shares with Linux It’s common practice to mount Windows file shares on Linux  using the SMB (Samba) implementation on Linux.  the command is fairly straight forward. # Install the required libraries if you haven't done that yet sudo apt update sudo apt install cifs-utils #Next mount the folder you want sudo mount -t ...

short and simple Linux .profile status banner 1

short and simple Linux .profile status banner
Here’s just a short post about a little .profile code snippet I use to help give me a brief system overview upon logging into my accounts.. It produces an output similar to the one below.  Now  I understand there are tons of little utilities out there like Neofetch (commind line system information tool), that provides ...

Running Mosquitto MQTT on Windows 10 super easy 26

Running Mosquitto MQTT on Windows 10 super easy
So I’ve been playing with IoT lately,  using platforms such as  Arduino ,ESP32, Raspberry Pi and when it comes to being able to have these devices communicate with a hub or server, the de facto standard is to use a MQTT  server and protocol  . Unfortunately, prior to Windows 10  finding a  native Windows  version is ...

WordPress linux backup script to offsite NAS via Rsync 5

WordPress linux backup script to offsite NAS via Rsync
Here’s a simple straightforward bash | shell script that I use for this SITE to easily and routinely backup my Entire  Wordpress Site , all its folders and plugins , and the corresponding database.   Of course there are dozens of WordPress Backup  plugins (such as Backup Buddy;  Updraft Plus; BackWpUp ) that do this ...

Linux backup and rotate script 11

A common task to do with backups is to rotate them , so that you have multiple copies of critical files going back x days. Below is a bash script (Linux command line) that does this. Why Rotate Backups? Why not just one current backup file… The primary reason to have a rotating backup system, ...

Shell script code: show oldest | newest file in folder and file age 2

Shell script code: show oldest | newest file in folder and file age
Determining Oldest file and file age Today I had to write a short shell script to help figure out the oldest file in a particular folder, how old that file was (in secs or minutes). This is a pretty common requirement when dealing with file(s) folders  such as working directories, where you periodically need to ...