随笔分类 -  linux(ubuntu)

摘要:cat /etc/proc 阅读全文
posted @ 2014-09-26 09:21 安心种田 阅读(349) 评论(0) 推荐(0)
摘要:ssh wudi@hostnamebashrc先修改全局的/etc/bashrc, 再考虑修改.bashrcalias ll='ls -alF'alias rm='rm -i'alias cp='cp -i'alias mv='mv -i'alias list='svn st -q'alias sv... 阅读全文
posted @ 2014-07-18 09:17 安心种田 阅读(2986) 评论(0) 推荐(0)
摘要:一: 终端配色方案 Text Color: #EEEE00 Backgroud Color: #000000 Built-in Scheme: XTerm /etc/DIR_COLORS.xterm 中 DIR 01;34 (01是加粗) 阅读全文
posted @ 2014-04-25 09:05 安心种田 阅读(256) 评论(0) 推荐(0)
摘要:一: 创建用户 #usreradd -d /usr/sam -m sam;二: 删除用户 #userdel -r sam;三: 修改口令 #passwd sam 阅读全文
posted @ 2014-04-22 10:45 安心种田 阅读(183) 评论(0) 推荐(0)
摘要:一: 提示缺 ncurses. 下载 ncurses, ./configure; make install; 1. 此时提示 /bin/sh: 1: -I../c++:not found 阅读全文
posted @ 2014-02-07 13:59 安心种田 阅读(335) 评论(0) 推荐(0)
摘要:1: Alt + F2;2: smb://172.16.157.19 阅读全文
posted @ 2014-01-13 09:21 安心种田 阅读(118) 评论(0) 推荐(0)
摘要:sudo vi /boot/grub/grub.cfg修改 set default="0"看开机启动项有几项, 如windows在第5项, 则设置 set default="4" 阅读全文
posted @ 2014-01-02 00:12 安心种田 阅读(134) 评论(0) 推荐(0)
摘要:Static CmsRet updateGponServiceStatus(const OmciServiceMsgBody *info, InstanceIdStack *parentIidStack){ CmsRet = CMSRET_INTERNAL_ERROR; int pbits = -1, vlan Id = -1; UBOOL8 found = false; InstanceIdStack iidStack=EMPTY_INSTANCE_ID_STACK; WanIpConnObject *ipConn=NULL; WanPppConnObject *pppConn=... 阅读全文
posted @ 2013-12-13 10:09 安心种田 阅读(423) 评论(0) 推荐(0)
摘要:eth0 Link encap:Ethernet HWaddr 40:16:9f:f0:fc:10 inet addr:192.168.1.18 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::4216:9fff:fef0:fc10... 阅读全文
posted @ 2013-12-12 17:02 安心种田 阅读(975) 评论(0) 推荐(0)
摘要:一: 打开 /etc/apt/apt.conf文件 添加 Acquire::http::Proxy "http://freecomm\di.wu:feixun*004@172.17.192.47:8080"; (注意最后分号不能丢)。 阅读全文
posted @ 2013-12-10 15:34 安心种田 阅读(226) 评论(0) 推荐(0)
摘要:1: 在地址栏中输入about:config2: 在弹出来的选项配置中, 将 network.negotiate-auth.allow-proxies 选项双击, 由true变为false。本方法参照网上教程, 经试验成功。 阅读全文
posted @ 2013-12-10 15:27 安心种田 阅读(765) 评论(0) 推荐(0)
摘要:一: 如果在PROFILE中添加新宏, 要记得到处变量, 如cortina ul/Makefile中。二: 代码中如果判断宏开没开, 尽量与空进行判断。 如 ifneq ($strip( $(BUILD_UNICOM)), ) 阅读全文
posted @ 2013-11-21 21:11 安心种田 阅读(172) 评论(0) 推荐(0)
摘要:一 退出kermit1: ctrl+ \2: 按c。3: 输入 exit。 阅读全文
posted @ 2013-11-21 09:00 安心种田 阅读(234) 评论(0) 推荐(0)
摘要:一: svn diff(1) 比较本地修改。 svn diff filename;(2)比较工作拷贝与版本库。 svn diff -r 3 filename;(3)比较版本库与版本库。 svn diff -r 2:3 filename;二: svn log svn log -v -r 160 -v ... 阅读全文
posted @ 2013-11-20 19:28 安心种田 阅读(163) 评论(0) 推荐(0)
摘要:1. 从官网上下载flash player的 .tar.gz包。2. 解压 .tar.gz, 得到libflashplayer.so和 usr文件夹。3. 修改权限, chmod 777 libflashplayer.so。 chmod 777 -R ./usr。4. 移动位置, sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ sudo cp -r ./usr/* /usr/ 阅读全文
posted @ 2013-10-24 13:55 安心种田 阅读(270) 评论(0) 推荐(0)
摘要:1. /etc/apt/apt.conf Acquire::http::proxy"http://username:password@10.0.2.254:8080/";2: hostname sudo vi /etc/hostname; sudo vi /etc/hosts; 阅读全文
posted @ 2013-10-22 10:30 安心种田 阅读(544) 评论(0) 推荐(0)
摘要:$dos2unix filename; 阅读全文
posted @ 2013-09-26 18:52 安心种田 阅读(360) 评论(0) 推荐(0)
摘要:1. sudo apt-get install ksnapshot2. $: ksnapshot3. 选择截图类型和延时 阅读全文
posted @ 2013-09-22 11:23 安心种田 阅读(143) 评论(0) 推荐(0)
摘要:evince filename; 阅读全文
posted @ 2013-09-22 09:12 安心种田 阅读(201) 评论(0) 推荐(0)
摘要:ubuntu系统安装好后, 用户并没有 sudoer权限, 需要修改 /etc/sudoer文件。 阅读全文
posted @ 2013-08-27 16:15 安心种田 阅读(310) 评论(0) 推荐(0)