07 2017 档案

摘要:Bigdata: 结构化数据:有约束的元数据 半结构化数据:有元数据,但是没有严格意义的约束 非结构化数据: 没有元数据 搜索引擎:搜索组件,索引组件 蜘蛛程序:爬取 存储: 分析处理:NoSQL Google 2003年:The Google File System 2004年:MapReduce 阅读全文
posted @ 2017-07-30 18:19 Dothraki
摘要:对于DOS行尾CR LF格式的文本文件, sed和grep在不同版本中都不能很好地处理 file file file: ASCII text, with CRLF line terminators cat file asdf xyz GNU sed 3.02 sed -n '/^asdf$/p' f 阅读全文
posted @ 2017-07-20 22:45 Dothraki
摘要:对测试某个未分配登陆shell的用户,系统用户等有用 例如让bin用户临时登陆shell su -s /bin/bash bin 阅读全文
posted @ 2017-07-15 09:03 Dothraki
摘要:openssl version 显示当前openssl的版本 libcrypto libssl openssl 标准命令 ca rand enc x509 genrsa gendsa req ... 消息摘要(dgst子命令) 加密命令 对称加密 工具 openssl enc gpg openssl 阅读全文
posted @ 2017-07-09 22:13 Dothraki
摘要:shell 的内件命令exec执行命令时,不启用新的shell进程【注: source 和 . 不启用新的shell,在当前shell中执行,设定的局部变量在执行完命令后仍然有效;bash或sh 或shell script执行时,另起一个子shell,其继承父shell的环境变量,其子shelll的 阅读全文
posted @ 2017-07-02 18:26 Dothraki