仅列出标题 列出摘要
2014年3月22日

ubuntulinux 更改时区设置时间

摘要: Linux/shell命令的实际应用——查看并修改系统时区 命令: www.2cto.com date -R //查询当前系统时间与默认时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime //改为上海所在时区(也是8区) hwclock //将当前时间固化到BIOS,重启后依然准确设置系统日期为2004年2月20日:date -s02/20/04设置系统时间为16时15分10秒:date -s16:15:10 阅读全文
posted @ 2014-03-22 23:22 baoyiluo 阅读(339) 评论(0) 推荐(0) 编辑

git 提交运用vim编辑器

摘要: git commit -m默认使用nano,觉得不爽,改成vim吧。在 .gitconfig (在根目录下)的 [core] 段中加上 editor=vim 。或:$gitconfig --global core.editorvim执行完这条命令后,可以去查看git的配置文件.gitconfig,该配置文件在家目录下面。 $ cat .gitconfig [core] editor = vim 阅读全文
posted @ 2014-03-22 00:46 baoyiluo 阅读(970) 评论(0) 推荐(0) 编辑