~/One liners

Feb 1, 2023


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22

# fuzzy find directory
cd "$(find -type d 2>/dev/null | fzf)"

# take the markdown content of your system clip and convert it to html
xclip -sel clip -o | pandoc -f markdown -t html


# sane gcc flags
gcc -Wall -Wextra -fsanitize=address

#
find ./ -type -f -exec mv -t ./{}+

#
pandoc -o o.pdf \
       -f markdown \
       -w pdf \
       <input_file>

# Dump traced addresses
traceroute <host> | awk '/([0-9]{1,3}\.){3}[0-9]{1,3}/ {print $2}'

References

Tags: [linux] [scripts]