🖥️ranlib

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the ranlib command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#  ██████╗  █████╗ ███╗   ██╗██╗     ██╗██████╗ 
#  ██╔══██╗██╔══██╗████╗  ██║██║     ██║██╔══██╗
#  ██████╔╝███████║██╔██╗ ██║██║     ██║██████╔╝
#  ██╔══██╗██╔══██║██║╚██╗██║██║     ██║██╔══██╗
#  ██║  ██║██║  ██║██║ ╚████║███████╗██║██████╔╝
#  ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝╚═════╝

# ranlib
#
# generates an index to the contents of an archive and stores it in the archive.
# The index lists each symbol defined by a member of an archive that is a relocatable object file. 

# This creates an index of the contents of fruits.a and stores the index in fruits.a
# This is useful for linking and in case the objects call each other.
ranlib fruits.a
# after 
#   ar r fruits.a apple.o orange.o pineapple.o
# is called
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░