Zrocky

Stay Hungry, Stay Foolish

Think Different


欢迎与我交流

Shell常用命令

shell获取路径各部分

directory=$(dirname "$fullfile")
filename=$(basename "$fullfile")
extension="${filename##*.}"
filename="${filename%.*}"

编码转换

iconv -c -f GB2312 -t UTF-8 $source_filepath > $out_filepath
更早的文章

SRS使用

>>> Install dockerDownload docker from here then start docker.>>> Clone SRSgit clone https://gitee.com/winlinvip/srs.oschina.git srs &&cd srs && git remote set-url origin https://github.com/ossrs/srs.git &&...…

docker framework继续阅读