binwalk 7z.exeshow file in this binary filebinwalk -c 7z.exeget inner file in thisssh-keygen -t rsa -C "[email protected]"生成ssh密钥对ssh -T [email protected]check ssh keygit config --global user.name "Les1ie"git config --global user.mail "[email protected]"- 配置好的kali推送文件到github一直不能推送上去,问了SCU_Linux的小伙伴们也不清楚, 最后在#linuxba 的irc上问了下,才知道 github的https是 readonly的,只有ssh通道才能推送,记一下 2017.3.16
sudo hdparm -t /dev/sda测试硬盘速度rar e filename.rar解压rar文件tar -tf file.tar列出压缩包内文件名 v参数用于显示详情, c参数表示create包,t参数表示查看文件, f参数必须放在最后一个,他接的文件名, r是追加文件到压缩包tar -xf file.tar解开tar包tar -xzf file.tar.gz解开gzip的,只需要加上一个z参数tar -xjf file.tar.bz2解开于bzip2包的,只需要加一个j参数bzip2 -d file.gz或gunzip file.gz解压gz文件bzip2 -d file.bz2或bunzip2 file.bz2zip filename.zip *.txt打包所有的文件为zippyinstaller -F --onefile --icon='test.ico' test.py打包py脚本程序,-F表示不开启控制台,--onefile表示打包成为一个文件。tar -Jxf file.tar.xz解压xz文件tar -Jcf filename.tar.xz filefolder/打包文件夹为xz文件:w:%s/source/dest/g全局替换source为dest