{"id":165820,"date":"2019-12-22T08:00:23","date_gmt":"2019-12-22T00:00:23","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=165820"},"modified":"2019-12-02T13:54:48","modified_gmt":"2019-12-02T05:54:48","slug":"linux-users","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-users.html","title":{"rendered":"Linux \u8d44\u6df1\u7528\u6237\u7684\u7279\u5f81\u6709\u54ea\u4e9b\uff1f"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Linux \u7528\u6237\u5343\u5dee\u4e07\u522b\uff0c\u4f46\u662f\u6211\u4eec\u8bb8\u591a\u4eba\u90fd\u6709\u4e00\u4e9b\u76f8\u540c\u7684\u4e60\u60ef\u3002\u4f60\u53ef\u80fd\u6ca1\u6709\u672c\u6587\u5217\u51fa\u7684\u4efb\u4f55\u7279\u5f81\uff0c\u800c\u4e14\u5982\u679c\u4f60\u662f\u4e2a Linux \u65b0\u7528\u6237\uff0c\u4f60\u53ef\u80fd\u8fd8\u4e0d\u80fd\u7406\u89e3\u8fd9\u4e9b\u7279\u5f81\u2026\u2026<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u4e0b\u9762\u662f\u4f60\u53ef\u80fd\u662f Linux \u7528\u6237\u7684\u516d\u4e2a\u7279\u5f81\u3002<\/p>\n 1\u3001\u7406\u6240\u5f53\u7136\uff0c\u7eaa\u5143\u59cb\u4e8e 1970 \u5e74 1 \u6708 1 \u65e5<\/strong><\/div>\n \u5173\u4e8e Unix \u8ba1\u7b97\u673a\u65f6\u949f\u4e3a\u4f55\u5728\u91cd\u7f6e\u65f6\u603b\u662f\u5c06\u5176\u8bbe\u7f6e\u56de 1970-01-01 \u7684\u4f20\u95fb\u6709\u5f88\u591a\u3002\u4f46\u6709\u70b9\u4ee4\u4eba\u611f\u5230\u4e4f\u5473\u7684\u4e8b\u5b9e\u662f\uff0cUnix \u201c\u7eaa\u5143\u201d\u662f\u7528\u4e8e\u540c\u6b65\u7684\u901a\u7528\u4e14\u7b80\u5355\u7684\u53c2\u8003\u70b9\u3002\u4f8b\u5982\uff0c\u4e07\u5723\u8282\u5728\u5112\u7565\u5386\u4e2d\u662f\u4eca\u5e74\u7684 304 \u65e5\uff0c\u4f46\u6211\u4eec\u901a\u5e38\u5c06\u8be5\u8282\u65e5\u79f0\u4e3a \u201c31 \u53f7\u201d\u3002\u6211\u4eec\u77e5\u9053\u6307\u7684\u662f\u54ea\u4e2a\u6708\u7684 31 \u53f7\uff0c\u56e0\u4e3a\u6211\u4eec\u6709\u4e2a\u5171\u540c\u7684\u53c2\u8003\u70b9\uff1a\u6211\u4eec\u77e5\u9053\u4e07\u5723\u8282\u5728 10 \u6708\u5e86\u795d\uff0c\u800c 10 \u6708\u662f\u4e00\u5e74\u4e2d\u7684\u7b2c\u5341\u4e2a\u6708\uff0c\u5e76\u4e14\u6211\u4eec\u77e5\u9053\u524d\u9762\u6bcf\u4e00\u4e2a\u6708\u5305\u542b\u591a\u5c11\u5929\u3002\u6ca1\u6709\u8fd9\u4e9b\u503c\uff0c\u867d\u7136\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4f20\u7edf\u7684\u8ba1\u65f6\u65b9\u6cd5\uff08\u5982\u6708\u76f8\uff09\u6765\u8ddf\u8e2a\u7279\u6b8a\u7684\u5b63\u8282\u6027\u4e8b\u4ef6\uff0c\u4f46\u662f\u8ba1\u7b97\u673a\u663e\u7136\u4e0d\u5177\u5907\u8fd9\u79cd\u80fd\u529b\u3002<\/p>\n \u8ba1\u7b97\u673a\u9700\u8981\u786e\u5b9a\u4e14\u660e\u786e\u5b9a\u4e49\u7684\u503c\uff0c\u56e0\u6b64\u5c06\u503c\u00a01970-01-01T00:00:00Z\u00a0\u9009\u62e9\u4e3a Unix \u7eaa\u5143\u7684\u5f00\u59cb\u3002\u6bcf\u5f53\u00a0POSIX\u00a0\u8ba1\u7b97\u673a\u7684\u65f6\u95f4\u4e0d\u51c6\u786e\u65f6\uff0c\u8bf8\u5982\u7f51\u7edc\u65f6\u95f4\u534f\u8bae\uff08NTP\uff09\u4e4b\u7c7b\u7684\u670d\u52a1\u5c31\u53ef\u4ee5\u5411\u5176\u63d0\u4f9b\u81ea\u00a01970-01-01T00:00:00Z\u00a0\u4ee5\u6765\u7684\u79d2\u6570\uff0c\u8ba1\u7b97\u673a\u53ef\u4ee5\u5c06\u5176\u8f6c\u6362\u4e3a\u4eba\u7c7b\u6613\u4e8e\u8bc6\u522b\u7684\u65e5\u671f\u3002<\/p>\n \u65e5\u671f\u548c\u65f6\u95f4\u662f\u5728\u8ba1\u7b97\u4e2d\u8981\u8ffd\u8e2a\u7684\u8457\u540d\u7684\u590d\u6742\u4e8b\u7269\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u51e0\u4e4e\u6240\u6709\u6807\u51c6\u90fd\u6709\u4f8b\u5916\u3002\u4e00\u4e2a\u6708\u5e76\u4e0d\u603b\u662f\u6709 30 \u5929\uff0c\u4e00\u5e74\u4e5f\u4e0d\u603b\u662f\u6709 365 \u5929\uff0c\u751a\u81f3\u6bcf\u5e74\u6709\u591a\u5c11\u79d2\u949f\u4e5f\u5f80\u5f80\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u5982\u679c\u4f60\u6b63\u5728\u5bfb\u627e\u4e00\u4e2a\u6709\u8da3\u800c\u4ee4\u4eba\u6cae\u4e27\u7684\u7f16\u7a0b\u7ec3\u4e60\uff0c\u90a3\u4e48\u8bf7\u5c1d\u8bd5\u7f16\u7a0b\u4e00\u4e2a\u53ef\u9760\u7684\u65e5\u5386\u5e94\u7528\u7a0b\u5e8f\uff01<\/p>\n 2\u3001\u8f93\u5165\u8d85\u8fc7\u4e24\u4e2a\u5b57\u6bcd\u4f60\u5c31\u4f1a\u89c9\u5f97\u9ebb\u70e6<\/strong><\/div>\n \u4f17\u6240\u5468\u77e5\uff0c\u6700\u5e38\u89c1\u7684 Unix \u547d\u4ee4\u90fd\u8d85\u7b80\u77ed\u3002\u9664\u4e86\u00a0cd\u3001ls\u00a0\u548c\u00a0mv\u00a0\u4e4b\u7c7b\u7684\u547d\u4ee4\u5916\uff0c\u8fd8\u6709\u4e00\u4e2a\u547d\u4ee4\u7b80\u76f4\u4e0d\u80fd\u518d\u77ed\u4e86\uff1aw\uff08\u5b83\u6839\u636e\u00a0\/var\/run\/utmp\u00a0\u6587\u4ef6\u663e\u793a\u5f53\u524d\u8c01\u767b\u5f55\u4e86\uff09\u3002<\/p>\n \u4e00\u65b9\u9762\uff0c\u6781\u77ed\u7684\u547d\u4ee4\u4f3c\u4e4e\u5f88\u4e0d\u76f4\u89c2\u3002\u65b0\u7528\u6237\u53ef\u80fd\u4e0d\u4f1a\u731c\u6d4b\u5230\u952e\u5165\u00a0ls\u00a0\u4f1a\u5217\u51falist\u76ee\u5f55\u3002\u4f46\u662f\uff0c\u4e00\u65e6\u5b66\u4e60\u547d\u4ee4\uff0c\u5b83\u4eec\u80af\u5b9a\u662f\u8d8a\u77ed\u8d8a\u597d\u3002\u5982\u679c\u4f60\u6574\u5929\u90fd\u5728\u7ec8\u7aef\u4e0a\u5ea6\u8fc7\uff0c\u90a3\u4e48\u4f60\u952e\u5165\u7684\u51fb\u952e\u6b21\u6570\u8d8a\u5c11\u5c31\u610f\u5473\u7740\u4f60\u53ef\u4ee5\u6709\u66f4\u591a\u7684\u65f6\u95f4\u6765\u5b8c\u6210\u5de5\u4f5c\u3002<\/p>\n \u5e78\u8fd0\u7684\u662f\uff0c\u5355\u5b57\u6bcd\u547d\u4ee4\u5e76\u4e0d\u592a\u591a\uff0c\u56e0\u6b64\u4f60\u53ef\u4ee5\u4f7f\u7528\u5927\u591a\u6570\u5b57\u6bcd\u4f5c\u4e3a\u522b\u540d\u3002\u4f8b\u5982\uff0c\u6211\u7ecf\u5e38\u4f7f\u7528 Emacs\uff0c\u4ee5\u81f3\u4e8e\u6211\u89c9\u5f97\u00a0emacs\u00a0\u7684\u8f93\u5165\u65f6\u95f4\u592a\u957f\uff0c\u56e0\u6b64\u901a\u8fc7\u5c06\u4e0b\u9762\u8fd9\u884c\u6dfb\u52a0\u5230\u00a0.bashrc\u00a0\u6587\u4ef6\u4e2d\uff0c\u5c06\u5176\u522b\u540d\u4e3a\u00a0e\uff1a<\/p>\n alias e='emacs'<\/pre>\n |