随笔分类 - Ubuntu
Ubuntu使用手记
ubuntu : fcitx
摘要:网上有的安装 方法 会导致方块乱码,我使用了这个方法 已经 解决 乱码。sudo apt-get remove ibussudo apt-get install fcitxsudo apt-get install ttf-arphic-umingsudo gconf-editorapps -> gedit-2 -> preferences -> encoding2修改 auto_detected 的值,增加 GB2312 ,并将它上升到第 2 个。sudo gedit ~/.fcitx/config第一行修改为:显示字体(中)=AR PL UKai CN
阅读全文
Linux 目录配置标准:FHS:FileSystem Hierarchy Standard
摘要:/ 目录应放置档案内容/根目录 root (/),一般建议在根目录底下只接目录,不要直接有档案在 / 底下。 根目录是开机的时候系统第一个挂载的 partition ,所以,所有开机过程会用到的档案, 应该都要放置在这个 partition 当中。举例来说,/etc, /bin, /dev, /lib, /sbin 这五个次目录都应该要与根目录连在一起,不可独立成为某个 partition 呢!/bin, /usr/bin, /usr/local/bin 除了 /bin 之外, /usr/local/bin, /usr/bin 也是放置『使用者可执行的 binary file 的目录
阅读全文
Linux 下系统信息监控工具
摘要::dstatUbuntu 下安装:1 sudo apt-get install dstat 有网上搜罗到不少常用信息,现列出如下:----- 以下转载自:IT运维专家网-----Dstat options: 1 -c, --cpu 显示CPU情况 2 -C 0,3,total include cpu0, cpu3 and total 3 -d, --disk 显示磁盘情况 4 -D total,hda include hda and total 5 -g, --page enable page stats 6 -i, --int enable interrupt stats 7 -I 5,et
阅读全文
重装Windows导致Linux引导失败
摘要:进入cmd命令窗口进入mbrfix工具所在的目录(用cd命令)输入命令 MbrFix /drive 0 fixmbr 确认即可。------------------呀呀,原来这里不能上传文件。还是我没发现?请各位朋友告诉我如何上传文件。或是需要的人留下邮箱,我可以发给你。
阅读全文
Linux常用命令备忘(外部设备控制、打印命令)
摘要:外部设备控制指令mount 挂载文件系统 参数小解:-a //挂载 /etc/fstab文件中设置的所有文件系统 -F //与 -a 用加快执行速度 -n //不将安装信息记录在 /etc/mtab 中;-s //允许错误加载选项 -r //以只读的方式挂载文件系统;-w //默认值,以读/写方式挂载文件系统 -t<文件系统类型> //指定挂载设备的文件系统类型,如ext2,utf,i...
阅读全文
Linux常用命令备忘(启动管理、文件或目录管理、系统管理)
摘要:启动管理命令halt 关闭计算机 halt //关闭计算机,不关闭电源 halt -p //关闭计算机并关闭电源login 登陆系统 login //登陆用户,并将提示输入用户名 login admin //登陆admin用户logout 退出登陆 logout //退出当前用户登陆poweroff 关闭并切断电源 poweroff -i //关闭计算机前先断开网络reboot 重启计算机 reb...
阅读全文
Chapter 5: PS1, PS2, PS3, PS4 and PROMPT_COMMAND __Linux 101 Hacks
摘要:Chapter 5: PS1, PS2, PS3, PS4 andPROMPT_COMMAND __Linux 101 HacksHack 29. PS1 - Default Interaction Prompt[代码] \u – Username \h – Hostname \w - Full pathname of current directory.Please no...
阅读全文
Chapter 4: Essential Linux Commands (part 2) __Linux 101 Hacks
摘要:Chapter 4: Essential Linux Commands __Linux 101 HacksHack 23. Sort CommandSort command sorts the lines of a text file. employee information in the format: employee_name:employee_id:department_name.[...
阅读全文
Chapter 4: Essential Linux Commands (part 1) __Linux 101 Hacks
摘要:Chapter 4: Essential Linux Commands __Linux 101 HacksHack 17. Grep Commandgrep command is used to search files for a specific text.Syntax: grep [options] pattern [files]Option -v, will display all the...
阅读全文
Linux 101 Hacks __To be continued
摘要:Linux 101 Hacks 系列:Chapter 1: Powerful CD Command Hacks__Linux 101 HacksChapter 2: Date Manipulation__Linux 101 HacksChapter 3: SSH Client Commands __Linux 101 HacksChapter 4: Essential Linux Commands (part 1) __Linux 101 HacksChapter 4: Essential Linux Commands (part 2) __Linux 101 HacksChapter 5:
阅读全文
Chapter 3: SSH Client Commands __Linux 101 Hacks
摘要:Chapter 3: SSH Client Commands __Linux 101 HacksHack 12. Identify SSH Client Version[代码]The following example indicates that this particular system is using SSH2:[代码]Hack 13. Login to Remote Host usin...
阅读全文
Chapter 2: Date Manipulation__Linux 101 Hacks
摘要:Chapter 2: Date Manipulation __Linux 101 HacksHack 7. Set System Date and TimeTo change the system date use:[代码]For example, to set system date to Jan 31st 2009, 10:19 p.m, 53 seconds[代码]You can also ...
阅读全文
Chapter 1: Powerful CD Command Hacks__Linux 101 Hacks
摘要:Chapter 1: Powerful CD Command Hacks __Linux 101 HacksHack 1. Use CDPATH to define the base directory forcd command[代码]To make this change permanent, add export CDPATH=/etc to your ~/.bash_profileSimi...
阅读全文
Linux 101 Hacks
摘要:推荐一本好书——《Linux 101 Hacks》一本关于Linux使用技巧的免费电子书籍。-----------------------以下摘自一个很欣赏的师兄的博客-----------------------《Linux 101 Hacks》是一本关于 Linux 使用技巧的免费电子书籍。本书总计 140 页,包含 12 章,讲解了 101 个 hack,涉及的内容包...
阅读全文
ubuntu 10.04 LTS 初体验(bug + flashPlayer)
摘要:以前使用 U8.10 的时候,其他使用正常,能基本完成日常所需,以及开发环境的配置。不过就是这个flash插件搞到非常烦。相信很多人都是这样遇到过,网上搜了很多解决方法,手动或自动,以及sudo cp也不能解决。就没管它了,能开发就好。双系统也是既普遍又方便的。昨晚熬夜把U10.04lts给装上了,不过也断网了,所以现在才开始配置一些日常功能。###bug###装Ubuntu10.04lts的时候...
阅读全文
浙公网安备 33010602011771号