Used for the cours at 42Lausanne
$ cmp foo bar
compares the two files
dd if=/dev/urandom of=foo bs=1000 count=1000
writes a 1mb file of random data
explication video and another to look at later
$ string a.out
to bump all printable string in a.out
$ readelf --symbols a.out
list all named symbols used
$ objectdump -t ./a.out
simmilar to readelf
$ objectdump -s ./a.out
see sections
$ objectdump -d ./a.out
disassemble it
$ strip a.out
removes symbols from binary, makes it a bit smaller and harder to interpret
-g
flag add debug symbols to binary
pgrep a.out
gets the process id for a.out
kill -INT 543
send a process an interupt signal
ps -A | less
list process running can also use ps -e