摘要: 1. https://blog.csdn.net/wuyuegb2312/article/details/16359821 2. https://www.youtube.com/watch?v=YQ3Fep69CYM 阅读全文
posted @ 2018-04-22 00:31 Rocin 阅读(1886) 评论(0) 推荐(0) 编辑
摘要: 42.zip A 42 kb zip file that contains 4.5 Petabytes of uncompressed data. 阅读全文
posted @ 2018-04-22 00:27 Rocin 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1. Type %0|%0 2. Save the file to your desktop as anything.bat 阅读全文
posted @ 2018-04-22 00:25 Rocin 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1. 显示port 22 refused, 输入 apt get install openssh server就可以解决 2. 关闭ssh服务 service ssh stop 3. 可以用 service status all查看 阅读全文
posted @ 2018-04-22 00:22 Rocin 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1. recovery mode E 2. ro rw 3. plus init=/bin/bash 4. passwd root 阅读全文
posted @ 2018-04-22 00:21 Rocin 阅读(411) 评论(0) 推荐(0) 编辑
摘要: ![](https://images2018.cnblogs.com/blog/1310818/201804/1310818-20180422001535649-661899025.jpg) 阅读全文
posted @ 2018-04-22 00:16 Rocin 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1. lsof i : 2. nmap 127.0.0.1 3. sudo netstat tunlp (不加sudo看不见PID) 4. gufw 参考 https://askubuntu.com/questions/9368/how can i see what ports are open o 阅读全文
posted @ 2018-04-22 00:13 Rocin 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 1. ps p $$ 一个名为 "$$" (这是shell的特殊参数),表示当前你正在运行的 shell 实例的 PID 2. echo $0 3. echo $SHELL 永远points to 默认的shell 4. 找出当前 Shell 的版本 1. bash version 2. zsh v 阅读全文
posted @ 2018-04-21 23:50 Rocin 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1. ls lsh 2. du sh du == disk usage (磁盘使用量,占用的磁盘空间) 一个文件占用的磁盘空间和一个文件的大小是两码事情。占用空间取决于文件系统的块(block)的大小,linux一般默认是4k(4096) ,因此,一个大小为1个字节的文件,最小也要占用4k,如果你创 阅读全文
posted @ 2018-04-21 23:46 Rocin 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 1. Shebang这个符号通常在Unix系统的脚本中第一行开头中写到,它指明了执行这个脚本文件的解释程序。 阅读全文
posted @ 2018-04-21 23:43 Rocin 阅读(171) 评论(0) 推荐(0) 编辑