常用的一些命令,方便自己使用。
Linux
查找文件:
find /home -name "libicui18n"
c++文件包含opencv编译:
sudo g++ main.cpp -o main pkg-config --cflags --libs opencv
查看端口占用:
lsof -i:port
查看所有目录大小并排序:
du -sh * | sort -hr
或者du -d 1 -h | sort -hr
web
placeholder换行符:
&
#10;
表示换行