import array
import re
class Terminal: def __init__(self, width = 80, height = 24): self.width = width self.height = height self.init() self.rese...
分类:
其他好文 时间:
2014-12-28 23:42:11
阅读次数:
193
之前将grub.cfg精简之后,系统自动启动后进入initramfs命令行,没有挂载根文件系统
如果从initramfs挂载根文件系统?采用如下命令:
mkdir mnt
mount /dev/sda1 /mnt
chroot /mnt
这是后系统进入root的命令行
(initramfs) chroot /mnt
bash: cannot set terminal proc...
分类:
系统相关 时间:
2014-12-27 00:16:16
阅读次数:
277
This guide will show you how to login to a Debian image and start LXDE by simply powering the Pi on.Method 1: Auto Login:In Terminal:sudo nano /etc/in...
分类:
其他好文 时间:
2014-12-26 21:38:48
阅读次数:
218
正如大家都知道的那样,Ubuntu的终端的Terminal能快捷的操作该linux系统,减少鼠标的使用。(vim党,尽量避免使用鼠标)在Ubuntu中,终端的快捷键为(大小写无关的):Ctrl + Alt + t: 新建一个Terminal终端Ctrl + Shift + t:新建一个Termina...
分类:
系统相关 时间:
2014-12-26 18:14:22
阅读次数:
244
selinux导致故障一例
这样的报错还是第一次遇到,排查过程没有头绪,一直纠结在child setpgid这个地方,还好在google过程中看到有人在设置selinux的时候的相关案例,于是想到从这方面入手。
原因为selinux开启导致的,但是比较诡异的是从别的terminal ssh 跳转过去之后无法执行任何操作,包括配置selinux,后来还是从后台远程管理口登陆上去之后设置并重启,彻...
分类:
系统相关 时间:
2014-12-26 14:36:39
阅读次数:
210
AIX-vi操作-提示Unknown terminal type的问题解决方法AIX Version 5.3$ vi /etc/profilelinux: Unknown terminal type[Hit return to continue] :q!I don't know what kind ...
分类:
其他好文 时间:
2014-12-26 12:52:57
阅读次数:
984
Adding in a Permanent Location To make the new?path?stick permanently you need to create a?.bash_profile?file in your home directory and set the?path?there. This file control various Terminal...
分类:
其他好文 时间:
2014-12-25 00:19:38
阅读次数:
285
restrict:指令在dom中的声明形式 E(元素)A(属性)C(类名)M(注释)priority优先级:一个元素上存在两个指令,来决定那个指令被优先执行terminal:true或false,告诉angular是否停止执行比高优先级指令低的指令template:两种形式,一种HTML文本;一个可...
分类:
其他好文 时间:
2014-12-23 19:18:43
阅读次数:
199
mac从源码编译安装是最方便的,lua源码不足两万行,编译几秒钟的事。 打开terminal,依次输入以下命令: curl -R -O http://www.lua.org/ftp/lua-5.2.3.tar.gz tar zxf lua-5.2.3.tar.gz cd lua-5.2.3 make...
1)安装配置NDK
1.1 下载NDK并解压缩
下载路径
https://developer.android.com/tools/sdk/ndk/index.html
在terminal执行:
chmod a+x android-ndk-r10d-darwin-x86_64.bin
./android-ndk-r10d-darwin-x86_64.bin
1.2 设置...
分类:
移动开发 时间:
2014-12-22 13:03:10
阅读次数:
419