Skip to content

Instantly share code, notes, and snippets.

View tolgahanakgun's full-sized avatar
😛
( ͡ ͡° ͜ ʖ ͡ ͡°) \╭☞

Tolgahan Akgun tolgahanakgun

😛
( ͡ ͡° ͜ ʖ ͡ ͡°) \╭☞
View GitHub Profile
@tolgahanakgun
tolgahanakgun / TIPS
Last active September 2, 2020 20:40
some time saving tips
#Lists the binary files which runs with privileged rights
find / -perm -u=s -type f 2>/dev/null
# add the lines below to .bashrc file for autostarting the ssh-agent and adding all the private keys in msys2
eval `ssh-agent -s` 1>/dev/null
find ~/.ssh/ -type f -exec grep -l "PRIVATE" {} \; | xargs ssh-add >/dev/null 2>&1