what does ll do in bash code example

Example 1: bash head command

# SYNTAX
# head [options] [file_name(s)]

# OPTIONS
# -n | N, prints out the furst N lines of the file(s)
# -q, doesn't print out the file headers
# -v, always prints out the file headers

# EXAMPLE
head -n 7 file.txt
head -q -n 5 file1.txt file2.txt

# CREDIT
# https://www.freecodecamp.org/news/bash-commands-bash-ls-bash-head-bash-mv-and-bash-cat-explained-with-examples/

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                                 |
# + --------- + -------------------------------------------------------+