随笔分类 -  linux

摘要:已知前置条件 本经验目前在Ubuntu14.04环境下,已有搜狗输入法 for Linux和Sublime Text 3的情况下安装成功。 解决方法步骤 保存下面的代码到文件sublime_imfix.c(位于~目录) 将上一步的代码编译成共享库libsublime imfix.so,命令 bash 阅读全文
posted @ 2016-04-15 17:31 withChengChen 阅读(371) 评论(0) 推荐(0)
摘要:iconv -f UTF-8 -t GBK file1 -o file2 pasting 阅读全文
posted @ 2016-04-08 19:36 withChengChen 阅读(54912) 评论(1) 推荐(0)
摘要:解决Qt5 Creator无法切换输入法(fcitx),Ubuntu中不能使用搜狗输入法录入汉字问题 标签(空格分隔): 未分类 概述 你我当然不是第一个遇到这个问题的人,网上一搜一堆解决方案。不过注意环境,Qt版本等等。 我的是2016 04 09 下载的 Qt5.6.0, 我的安装根目录为 , 阅读全文
posted @ 2016-04-08 18:59 withChengChen 阅读(4374) 评论(0) 推荐(2)
摘要:linux下 为自己编写的程序 添加tab自动补全功能 入门 complete 1. 在我的tmp下随便写了一个a.sh, 为他补全 2. edit 3. source foo后 表现为 4.undo以上操作??? 我猜想是改一下步骤2的函数体继续做以下步骤就好 ================== 阅读全文
posted @ 2016-04-08 11:02 withChengChen 阅读(2912) 评论(0) 推荐(0)
摘要:Usentfsfixin the terminal , even if you can't access Windowssudo ntfsfix /dev/XY //Previous wasn't working for me.where XY is the partitione.g sda2 or... 阅读全文
posted @ 2015-05-30 19:49 withChengChen 阅读(578) 评论(0) 推荐(0)
摘要:windows下用pscppscp -P 22 -r/path_from/* root@192.168.1.1:/path_to/linux下: scp /path_from/* root@192.168.1.1:/path_to/ 阅读全文
posted @ 2015-04-19 16:03 withChengChen 阅读(221) 评论(0) 推荐(0)
摘要:指令名称:chmod使用权限:所有使用者使用方式:chmod[-cfvR][--help][--version]modefile...说明:Linux/Unix的档案调用权限分为三级:档案拥有者、群组、其他。利用chmod可以藉以控制档案如何被他人所调用。参数:mode:权限设定字串,格式如下:[u... 阅读全文
posted @ 2014-11-03 12:41 withChengChen
只有注册用户登录后才能阅读该文。
posted @ 2014-09-25 21:24 withChengChen
摘要:20140827#sar -n DEV 1 10020140828##apt-get update # apt-get upgrade~~~~~~~~~~~~~~~~~~~~~~~~~~centos ~~~~~~~~~~~~~添加一个具有root权限的新用户#addusertommy//添加... 阅读全文
posted @ 2014-08-27 22:47 withChengChen
摘要:本文引用自 blog.csdn.net/yypony/article/details/17260153 方法: 1: 在终端下察看已经安装的旧的内核: ctrl+alt+t——>进入终端——>输入命令:dpkg --get-selections|grep linux给 /boot文件目录分配空间的时... 阅读全文
posted @ 2014-08-12 20:13 withChengChen 阅读(5202) 评论(0) 推荐(0)