all linux distributions code example

Example 1: what are the linux distributions

What are the Linux distributions?

Some distros:
Ubuntu, Elementary OS, Fedora, Arch Linux, Kabuntu, Deepin, Ubuntu MATE, 
Debian, Gentoo, Linux Mint, Red Hat Enterprise Linux, CentOS, Kali Linux, 
OpenSUSE, and many more...

The most popular:
1. Ubuntu
+ Very accessible for novices, good security and stability. 

2. Elementary OS
+ Smart design and looks great, excellent desktop environment.
+ It kind of looks like macOS.
+ It comes with a limited range of essential apps, including the 
  Epiphany browser, an email client.
- Not many preinstalled apps.

3. Linux Mint (my favourite is the desktop environment Xfce) 
+ Good for beginners, it comes with a lot fo software you'll need when
  switching from Mac or Windows. 
+ Good media support, you can play videos, DVDs and MP3 music files out
  of the box. 
+ Impressive customization options, you can choose Cinnamon(the most popular),
  MATE(runs faster, uses less resources and more stable than Cinnamon),
  or Xfce(very light weight and will run on almost any PC).

4. openSUSE
+ Very polished distro, looks professional.
+ Nicely secure, it's aimed at system administrators, very good security.
+ The SUSE Studio Express website allows you to create your own version of the 
  OS, complete with customised preinstalled software packages, desktop and
  system settings.

5. CentOS
+ Built for stability.
+ Ideal for servers.
- Not so great for daily desktop usage.

6. Arch Linux
+ Massive potential for customization.
+ For advanced users.
+ User-friendly distro.

Example 2: linux list

# syntax
# ls *<options> '*<file-dir>'

# example 
ls -ltr './*.log'

# + --------- + -------------------------------------------------------+
# | OPTION    |  DESCRIPTION                                           |
# + --------- + -------------------------------------------------------+
# | -a        | list all files including hidden file starting with '.' |
# | --color   | colored list [=always/never/auto]                      |
# | -d        | list directories - with ' */'                          |
# | -F        | add one char of */=>@| to enteries                     |
# | -i        | list file's inode index number                         |
# | -l        | list with long format - show permissions               |
# | -la       | list long format including hidden files                |
# | -lh       | list long format with readable file size               |
# | -ls       | list with long format with file size                   |
# | -r        | list in reverse order                                  |
# | -R        | list recursively directory tree                        |
# | -s        | list file size                                         |
# | -S        | sort by file size                                      |
# | -t        | sort by time & date                                    |
# | -X        | sort by extension name                                 |
# + --------- + -------------------------------------------------------+