最近学习内容
- Linux编译链接命令
- 一条有用的删除可执行文件的bash命令
- gcc 在macos 的编译选项,其中-g会生成一个.dSYM文件夹
- to long don’t read 工具的使用
- gnu bintuils 的使用,但是很可惜macos上的是Mach-O,不是ELF
- axel多线程下载器和其余的curl, wget, 这里应该看一下tldr
clang++ 10m-cli-new.cc -o 10m-cli -DOS_MACOSX -Wno-deprecated-declarations -DLITTLE_ENDIAN=1 -std=c++11 -I./handy -lhandy_s -L./ -vclang++ 10m-svr-new.cc -o 10m-svr -DOS_MACOSX -Wno-deprecated-declarations -DLITTLE_ENDIAN=1 -std=c++11 -I./handy -lhandy_s -L./ -v
if [ $? -eq 0 ];thenecho "==============================OK=============================="
fi
find . -perm +100 -type f -deletegcc -g -v -c hello.c
readelf -h hello.o
readelf -SW hello.o
objdump -S hello.ogcc -g -v ...
tldr -v grep
hexdump / od / file <file name>
strings <bin-file or file>axel -n 10 <url>
wget https://baidu.com/index.html -S -O haha
curl: --location --proxy --silent --show-error -O -kIsS --head