Skip to content

Instantly share code, notes, and snippets.

View jUnG3's full-sized avatar

Herceg Stjepan jUnG3

View GitHub Profile
@jUnG3
jUnG3 / calculate_shared_libs_size
Created February 9, 2021 10:25
Calculates the size of linked shared libs. The result value unit is kB.
#!/usr/bin/env bash
if [ $# -eq 0 ]; then
echo "No arguments supplied"
exit 1
fi
if [ -z "$1" ]; then
echo "Provide the path to the executable"
exit 1