摘要: 在~/.bash_profile里面添加export HISTSIZE=1000From: http://bbs.chinaunix.net/thread-3612167-1-1.html 阅读全文
posted @ 2014-06-22 07:28 张绍建 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 代码下载: Arch-Linux-添加中文字体.txt 阅读全文
posted @ 2014-06-20 01:34 张绍建 阅读(2207) 评论(0) 推荐(0) 编辑
摘要: 使用非默认内核而出现的错误。 [zsj@arch ~]$ systemctl --state=failed UNIT LOAD ACTIVE SUB DESCRIPTION● systemd-modules-load.service loaded failed failed Load Kernel 阅读全文
posted @ 2014-04-30 21:43 张绍建 阅读(13227) 评论(0) 推荐(0) 编辑
摘要: # vim .bashrc添加:alias findstring='find . -type f -maxdepth 1 -name "*.*" | xargs grep '使用方法:#findstring "alias" 阅读全文
posted @ 2014-04-30 17:44 张绍建 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 用于打开chrome浏览器中的"irc://*"#cp /usr/share/applications/xchat.desktop /home/zsj/.local/share/applications/irc.desktop#xdg-mime default irc.desktop x-schem... 阅读全文
posted @ 2014-04-30 16:51 张绍建 阅读(424) 评论(0) 推荐(0) 编辑
摘要: # pacman -S gnome-system-log gnome-logsextra/gnome-logs 3.12.1-1 (gnome-extra) A log viewer for the systemd journalextra/gnome-system-log 3.9.90-1 ... 阅读全文
posted @ 2014-04-30 11:27 张绍建 阅读(583) 评论(0) 推荐(0) 编辑
摘要: # ifconfigwlp0s29f7u6: .... ... inet6 fe80::a00:20ff:fe9d:5c55 prefixlen 64 scopeid 0x20...# ping6 fe80::a00:20ff:fe9d:5c55%wlp0s29f7u6 阅读全文
posted @ 2014-04-30 01:38 张绍建 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1:显示桌面修改文件:~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xmlvim命令:%s/"<Control><Alt>d"/"\<Super\>d"2:屏幕截图附加安装:... 阅读全文
posted @ 2014-04-27 13:12 张绍建 阅读(814) 评论(0) 推荐(0) 编辑
摘要: dd脚本:#!/bin/shif [ -d "${1}" ]; thenecho "!mkdir"elsemkdir ${1}ficd ${1}name=`date +%Y%m%d_%H%M%S`dd if=/dev/cdrom of=${1}${name}.iso && md5sum ${1}${... 阅读全文
posted @ 2014-04-26 06:22 张绍建 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 建立交换文件用root账号,使用 fallocate 命令来创建一个所需大小的交换文件(M = Mebibytes, G = Gibibytes)。例如,创建一个512 MB的交换文件:# fallocate -l 512M /swapfile注意: fallocate 命令用在 F2FS 或 XF 阅读全文
posted @ 2014-04-26 04:21 张绍建 阅读(1080) 评论(0) 推荐(0) 编辑