2017年6月19日

Linux下tmux配置

摘要: 1. 在~/.bashrc中设置tmux的alias 2. ~/.bin/tmux.sh脚本 此脚本能判断如是在tty下,则启用~/.ttytmux.conf配置文件,否则启用默认配置文件;并当判断会话是否存在,如不存在则新建,否则显示此会话。 3. ~/.ttytmux.conf配置文件 4. ~ 阅读全文

posted @ 2017-06-19 11:32 kyln 阅读(671) 评论(0) 推荐(0)

2015年7月13日

ubuntu server start/stop/restart apache2 web server

摘要: How do I start, restart, or stop Apache 2.x web server on Ubuntu Linux operating systems using command line options?You can use any one of the followi... 阅读全文

posted @ 2015-07-13 20:40 kyln 阅读(1107) 评论(0) 推荐(0)

2015年7月9日

Ubuntu把home目录文件夹名称改为英文

摘要: Ubuntu中文安装后,家目录均为中文,如“下载” “文档”等等,在使用Shell时很不方便,可用如下方法将这些文件夹名称改回英文1.使用命令1 export LANG=en_US2 xdg-user-dirs-gtk-update 2.在弹出的窗口中询问是否将目录转化为英文路径,同意并关闭3.使用... 阅读全文

posted @ 2015-07-09 20:41 kyln 阅读(1463) 评论(0) 推荐(0)

linux tty下调整分辨率

摘要: 1.编辑grub文件1 $ sudo vim /etc/default/grub2 $ GRUB_GFXPAYLOAD_LINUX=1280x1024 //在文件最后增加下行代码(1280x1024为分辨率大小)2.更新grub,再重启1 $ sudo update-grub 阅读全文

posted @ 2015-07-09 20:24 kyln 阅读(1054) 评论(0) 推荐(0)

导航