GUI Python3 vs GUI Shell Scripting

GUI Python 3 vs GUI (Linux) Shell Scripting

================================

As a PHP/JS Web Developer I study in my free time Linux topics online or in e-books… Also started study Python 3… As I mention Python 3 and Linux Shell Scripts provide some commands for creating GUIs windows[programs with GUI instead of the traditional CLI…  text mode programs]… In this post I focus on GUIs in Python 3 vs Shell Scripting GUIs…

Shell Scripting at first exist on Unix/Linux/MacOS OSs… (mainly Linux) but Python can installed in any OS including Windows 10….

In this article I use Linux Ubuntu Studio 18.10 for the demonstrations – I like using Ubuntu Studio rather Ubuntu or Fedora… because Ubuntu Studio come from Canonical too, and has preinstalled many free programs for Graphic Design, Video/Audio Edit, Photography, Publishing Ebooks, etc Tools… that’s I feel Not needed change OS to do these other essential Tasks for my work like edit an image etc… !!!

 

 

Coming Soon !!!

 

 

 

 

 

 

 

Linux Cron Backup Script – run once every month via cron

  Linux Cron Backup Script
==========

I set cron job with crontab -e for running 20:20 8th everyMonth any weekDay

Script appears below as backup-cron.sh,… feel free to COPY to your Linux VM for experimentation…

[root@server1 backup-cron]# crontab -l

20 20 8 * * /root/backup-cron.sh

[root@server1 backup-cron]# cd
[root@server1 ~]# cat backup-cron.sh
#!/usr/bin/bash

# script: /root/backup-cron.sh
# Author LEONIDAS SAVVIDES - LSEPOLIS123@GMAIL.COM
# script for backup auto with cron the Directory /etc/ to /root/backup-cron/etc-YYYY-MM-DD.tar.bz2 type
# of Archives once a month the 8th of each month 20:00

# Get Current date in format YYYY-MM-DD

DATE=`date +%Y-%m-%d`;

# directory to backup
BACKUP_THIS_DIR="/etc";

# save backups in the name /root/backup-cron/etc-DATE.tar.bz2

BACKUP_TO="/root/backup-cron/";

EXT=".tar.bz2";

BACKUP_FILE="etc-"$DATE$EXT; # not spaced

FULL_BACKUP_URI=$BACKUP_TO$BACKUP_FILE;  # not spaced

# Command to execute

tar jcvf $FULL_BACKUP_URI $BACKUP_THIS_DIR;  # all spaced with one space

# check if success or failure backup done
if [ $? -eq 0 ]; then
echo "Success"; mail -s "Success Backup on "$DATE root@localhost; exit 0;
else
echo "Failure"; mail -s "Failed Backup on "$DATE root@localhost; exit 1;
fi

# END OF THE SCRIPT

[root@server1 ~]#

any Question email me here : 

LSEPOLIS123@GMAIL.COM 



Linux Distros for < ... >

Linux Distros for < … >

===========

Gaming

Steam OS – https://store.steampowered.com/steamos/

 ==================================================

Photography / Video Production / Graphic Designer

Ubuntu Studio – https://ubuntustudio.org/

 ==================================================

Programming / Soft Development

Semi Code (out of date) [Preinstalled Apps and Soft IDEs]

 ==================================================

Workstation User / Programmer / Coder

Fedora or Ubuntu or Linux Mint or Linux Arch or Antegros

 ==================================================

Ethical Hacking & Penetration

Kali Linux or Parrot Linux

// https://www.kali.org/ – https://www.parrotsec.org/

Kali Linux Cheat Sheet

 ==================================================

Consumer Web Server

CentOS 7 or Ubuntu Server or Debian – https://centos.org/ – https://www.debian.org/ – https://www.ubuntu.com/server

 ==================================================

Enterprise Server

RHEL 7 – https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux

or Ubuntu Server – https://www.ubuntu.com/server

 ==================================================

Linux with Windows like Desktop

Linux Mint – https://www.linuxmint.com/

 ==================================================

Linux with MacOS like Desktop

Elementary OS – https://elementary.io/

 ==================================================

Linux Foundation Exams LFCS , LFCE – https://www.linuxfoundation.org/

are available for

CentOS 7 Server or Ubuntu Server
– https://centos.org/ – https://www.ubuntu.com/server

=YOUTUBE========================

It doesn’t matter what kind of user you are, there exists a perfect Linux distro for you.

1. Best Linux Distro for Desktops and Powerful Laptops – Linux Mint, known to provide a near-to-perfect Linux desktop experience.

2. Best Linux Distro for Regular Laptop – Ubuntu MATE. Ubuntu comes with nine different flavours that have their own programs, features, and desktop environments.

3. Best Linux Distro for Older and Slow Hardware – Puppy Linux. It is ideal for the conditions where a compact distro due to older hardware and low computing resources.

4. Most Customizable Linux Distro – Arch Linux. It is a minimalistic Linux distro that allows your to start learning Linux from scratch. But, it is not recommended for the beginners as thereís a lot of command line work and manual configuration.

5. Most Beautiful Linux Distro – elementaryOS. The maker of this completely community-based OS are an expert in design and it is one of the prettiest Linux distributions you will come across.

6. Best Best Privacy-focused Linux Distro – Tails. It is a live operating system that you can boot on any computer from a USB stick, SD card, or DVD and used by the likes of Edward Snowden.

7. Best Linux for Ethical Hacking and Penetration Testing – Kali Linux. It is a special purpose Linux distro for pen testing and network security testing. With more than 600 tools, Kali Linux is designed to be used in a single, root user scenario due to security purposes.

8. Best Linux Distro For Servers – Debian. One of the longest running Linux distros, Debian, has served as a framework for many other distros like Mint and Ubuntu.

9. Best Linux Distro For IoT – Snappy Ubuntu Core. Focussing on Internet of Things application, Canonical released a Snappy version of Ubuntu Core OS for IoT.

10. Best Linux Distro For Video Editing and Multimedia Production – Ubuntu Studio. It fills an empty spot of a multimedia production-focused Linux distro. It comes with tools for recording, mixing, mastering, live processing, or even coding.

11. Best Linux Distro For Gaming – SteamOS. Honestly, there isn’t a Linux distro that is perfect for playing all kinds of game. With each passing day, more and more games are being officially released on Linux.

================================