Linux Cool Tips and Tricks Log 5

Overview

Linux Tips and Tricks continued…

Find if your system is 32 or 64 bits

uname -a

Find if a binary is compiled for 32 or 64 bits

file -be elf binary-path

Example file -be elf /usr/bin/sudo

setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV)

Cheers…