好用的linux screen配置文件
来源:互联网 发布:人工智能新闻 编辑:程序博客网 时间:2024/05/21 17:02
系统管理员经常需要SSH 或者telent 远程登录到Linux 服务器,经常运行一些需要很长时间才能完成的任务,比如系统备份、ftp 传输等等。通常情况下我们都是为每一个这样的任务开一个远程终端窗口,因为它们执行的时间太长了。必须等待它们执行完毕,在此期间不能关掉窗口或者断开连接,否则这个任务就会被杀掉,一切半途而废了。
配置文件:$HOME/.screenrc 或者/etc/screenrc
# Set default encoding using utf8defutf8 on## 解决中文乱码,这个要按需配置defencoding utf8encoding utf8 utf8 #兼容shell 使得.bashrc .profile /etc/profile等里面的别名等设置生效shell -$SHELL#set the startup messagestartup_message offterm linux## 解决无法滚动termcapinfo xterm|xterms|xs ti@:te=\E[2J # 屏幕缓冲区行数defscrollback 10000 # 下标签设置hardstatus oncaption always "%{= kw}%-w%{= kG}%{+b}[%n %t]%{-b}%{= kw}%+w %=%d %M %0c %{g}%H%{-}" #关闭闪屏vbell off #Keboard binding# bind Alt+z to move to previous windowbindkey ^[z prev# bind Alt+x to move to next windowbindkey ^[x next# bind Alt`~= to screen0~12bindkey "^[`" select 0bindkey "^[1" select 1bindkey "^[2" select 2bindkey "^[3" select 3bindkey "^[4" select 4bindkey "^[5" select 5bindkey "^[6" select 6bindkey "^[7" select 7bindkey "^[8" select 8bindkey "^[9" select 9bindkey "^[0" select 10bindkey "^[-" select 11bindkey "^[=" select 12# bind F5 to create a new screenbindkey -k k5 screen# bind F6 to detach screen session (to background)bindkey -k k6 detach# bind F7 to kill current screen windowbindkey -k k7 kill# bind F8 to rename current screen windowbindkey -k k8 title
0 0
- 好用的linux screen配置文件
- linux screen 配置文件 超好用
- 我的screen配置文件
- 好用的工具---screen命令
- linux中配置文件积累(screen)
- screen配置文件
- linux screen 的使用
- Linux screen的常用命令
- linux的screen命令
- linux的screen命令
- linux的Screen命令
- 一个好用的 vim 配置文件
- 一份比较好用的vim配置文件
- vim配置文件 好用的列表
- linux screen命令的使用
- linux screen工具的使用
- Linux下screen的使用
- Linux下screen的使用
- 使用eclipse编译gtk+程序
- vc6.0 编译通过,运行时出现:one or more files are out of date or not exist ,These files need to be bulit.
- 背包问题
- c#通过反射查找接口的实现 并创造实例
- 转 学习Javascript闭包(Closure)
- 好用的linux screen配置文件
- 【Linux&Unix--文件描述符与权限】
- my
- 远程Linux服务器下安装 Tomcat6.0.41
- 一些必不可少的Sublime Text 2插件
- 配置adb的环境变量(add offline解决方法)
- 编程算法 - n个骰子的点数(递归) 代码(C)
- javascrip分页展示
- shell脚本测试空字符串