
Linux
文章平均质量分 70
「已注销」
这个作者很懒,什么都没留下…
展开
-
How to play .rmvb files in Ubuntu
原文:How to play .rmvb files in UbuntuThis tutorial will take you step by step through installing all of the software necessary to play rmvb (RealMedia Variable Bitrate) files in Ubuntu Linux.转载 2016-04-03 22:44:05 · 1412 阅读 · 0 评论 -
debian系统udisks移动硬盘或者U盘时,出现one or more partitions are busy on /dev/sdb
原文:http://www.cyberciti.biz/tips/how-do-i-forcefully-unmount-a-disk-partition.htmlUnderstanding device error busy errorWhat happens basically, is that Linux / UNIX will not allow you to unmoun转载 2013-06-02 16:46:28 · 2323 阅读 · 0 评论 -
debian安装后 中文名称的文件及文件夹显示为方块 乱码等
原文:http://mtoou.info/debian-zhongwenxianshi/在安装debian系统的时候如果选择使用中文作为操作系统的字体,但在安装过程中并没有联网进行同步更新,那么很可能在debian系统安装成功以后出现所有中文文字都是小方块数字字母及黑块问号的情况(如第一图所示)。出现这种情况的原因是因为系统的安装时候没有安装中文的字体库,搜了一些网上的解决方法,如下:转载 2013-06-02 20:46:56 · 10310 阅读 · 1 评论 -
xargs的用法-wiki
原址:http://en.wikipedia.org/wiki/Xargsxargs is a command on Unix and most Unix-like operating systems used to build and execute command lines from standard input. Commands like grep andaw转载 2013-04-30 20:24:08 · 1189 阅读 · 0 评论 -
linux下的umask命令
原址:http://hi.baidu.com/fengyun409/item/82cd158ffe7f67c8b17154e7现在,我们知道如何建立或者是改变一个目录或文件的属性了,不过,你知道,当建立一个新的文件或目录时,它的默认属性是什么吗?那就与umask有关了。那么,umask是什么呢?基本上,umask就是指定“当前用户在建立文件或目录时候的属性默认值”。那么,如何得知或设置转载 2013-04-24 21:01:01 · 7069 阅读 · 0 评论 -
linux下查看系统及运行信息
原址:xiaoxiaode.blog.51cto.com/2522357/729591系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机转载 2013-04-24 21:28:40 · 866 阅读 · 0 评论 -
linux下的/etc/shadow文件详解
原址:http://www.cyberciti.biz/faq/understanding-etcshadow-file/Q. Can you explain /etc/shadow file used under Linux or UNIX?A. /etc/shadow file stores actual password in encrypted format for use转载 2013-04-24 21:11:26 · 3141 阅读 · 0 评论 -
linux下的/etc/passwd详解
原址:http://luzl.iteye.com/blog/564404root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin desktop:x:80:80:desktop:/var/lib/menu/kde:转载 2013-04-24 21:03:38 · 1199 阅读 · 0 评论 -
linux下的tr命令
原址:http://www.360doc.com/content/10/0926/09/1107705_56449410.shtml(360doc真够不要脸的,不注册不能复制)http://study.chyangwa.com/IT/AIX/aixcmds5/tr.htm#a0939bb(命令参考大全之tr命令)tr 命令用途转换字符。语法t转载 2013-04-23 11:15:53 · 1002 阅读 · 0 评论 -
linux系统中universal access 图标的去除
前几天,不明所以的点开了右上角的universal access图标,并点击了其中的几个选项,导致笔记本键盘不可用。开机后插入的外接usb键盘可用(如果外接usb键盘在开机时就已经接入,仍然不可用)。在网上查了很多方法,都没有找到原因。后来就试着点击universal access,并把打勾的选项全部去掉。问题解决。于是想去除notification area(右上角区域)的universal转载 2013-04-23 10:13:04 · 1686 阅读 · 0 评论 -
sort命令2--详细版
原址:http://study.chyangwa.com/IT/AIX/aixcmds5/sort.htm用途排序文件、对已排序的文件进行合并,并检查文件以确定它们是否已排序。语法sort [ -A ] [ -b ] [ -c ] [ -d ][ -f ] [ -i ] [ -m] [ -n ] [ -r ] [ -u ] [翻译 2013-04-22 15:25:32 · 1179 阅读 · 0 评论 -
one or more partitions are busy
原文:http://www.cyberciti.biz/tips/how-do-i-forcefully-unmount-a-disk-partition.htmlUnderstanding device error busy errorWhat happens basically, is that Linux / UNIX will not allow you to unmoun转载 2013-06-02 20:55:39 · 1431 阅读 · 0 评论 -
squeeze debian更换默认浏览器
debian与firefox的拥有者因为版权原因,使得默认的浏览器不是firefox,而是iceweasel,但是很多 扩展extention不兼容,所以只能手动卸载默认浏览器并安装firefox。在terminal内输入apt-get remove iceweasel卸载默认浏览器网上下载firefox的linux版本并进入firefox压缩包的目录,然后转载 2013-06-04 17:35:51 · 1956 阅读 · 0 评论 -
zip乱码
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。作者:Latm Ake链接:http://www.zhihu.com/question/20523036/answer/35225920来源:知乎7z方案需要安装p7zip和convmv,在Fedora下的命令是su -c 'yum install p7zip convmv'在ub转载 2015-11-03 11:32:55 · 815 阅读 · 0 评论 -
debian squeeze安装ibus
从仓库安装ibus软件包:# apt-get install ibus此外,为了启动ibus的Qt应用程序支持, 安装ibus-qt软件库:# apt-get install ibus-qt 输入法引擎你至少需要一个支持你所想用的语言的输入法。可用的输入法包括: ibus-anthy: 一个日文输入法引擎,基于anthy。 ibus-转载 2015-11-02 13:30:21 · 1384 阅读 · 0 评论 -
debian 163源
http://mirrors.163.com/.help/debian.htmlsqueeze:deb http://mirrors.163.com/debian/ squeeze main non-free contribdeb http://mirrors.163.com/debian/ squeeze-updates main non-free contribdeb ht转载 2015-11-02 13:47:05 · 1191 阅读 · 0 评论 -
.vimrc for r400
"=========================bundle start================================set nocompatible " be iMproved, requiredfiletype off " required" set the runtime path to include原创 2015-11-03 09:57:15 · 1054 阅读 · 0 评论 -
debian下flv转为mp3格式
原文:http://tieba.baidu.com/p/838513625方法一:在安装到有mplayer的情况下可以使用命令 mplayer -dumpaudio filenametoconvert.flv -dumpfile filenametosave.mp3 如我要将下载下来的aa11.flv转换为bb22.mp3则使用以下命令 mplayer -dump转载 2013-09-21 09:28:01 · 1181 阅读 · 0 评论 -
squeeze debian添加adobe flash player
默认浏览器iceweasel或者更改为firefox浏览器因为没有flash插件,是不能播放视频的,如优酷,爱奇艺等的在线视频。手动安装adobe flash player for linux首先,下载adobe flash player.然后进入存放压缩包的目录并解压:tar -xzvf install_flash*.tar.gz目录中会出现libflashplayer.原创 2013-06-04 20:52:30 · 1675 阅读 · 0 评论 -
无线路由制式mode的区别: infrastructure, ad-hoc
原文:http://www.speedguide.net/faq_in_q.php?qid=297Most wireless routers can operate as an access point (AP) for clients. Some add other wireless modes that can be used to extend the range, introduc转载 2013-06-16 09:49:09 · 3511 阅读 · 0 评论 -
Thinkpad R400 2786k26系列在Debian Squeeze上解决无线网卡问题
笔记本为Thinkpad R400 2786k26,无线网卡为Intel Wireless WiFi 5100AGN。安装Debian Squeeze后,在开始进行系统硬件检查和设置时,显示iwan .... failed。进入系统后无线网络列表没有显示。原因是缺少无线网络驱动模块iwlwifi。。在网上搜索 intel 5100后,解决办法如下:iwlwifi安装,deb原创 2013-06-06 20:31:33 · 1919 阅读 · 0 评论 -
xp与Squeeze debian 双系统启动菜单的更改
安装了xp和squeeze debian后,想把默认的启动系统更改为xp,查了些资料,大部分都是错的(因为debian版本的不同)以下为错误的解决方式:先备份:sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup修改启动菜单:sudo gedit /boot/grub/menu.lst修改中间的default 0原创 2013-06-04 11:36:16 · 1464 阅读 · 0 评论 -
Linux系统中的sort命令。。
原址:http://www.360doc.com/content/10/0925/15/1107705_56263541.shtml有时候学习脚本,你会发现sort命令后面跟了一堆类似-k1,2,或者-k1.2 -k3.4的东东,有些匪夷所思。今天,我们就来搞定它—-k选项!1 准备素材$ cat facebook.txtgoogle 110 5000baidu 100 500转载 2013-04-22 15:22:35 · 873 阅读 · 0 评论 -
ubuntu|debian查看硬盘信息
原链:http://hi.baidu.com/shuqq105/item/8652cb46e7dc4312886d1064查看硬盘的分区sudo fdisk -l硬盘分区#危险!小心操作。sudo fdisk /dev/sda硬盘格式化#危险!将第一个分区格式化为 ext3 分区, mkfs.reiserfs mkfs.xfs mkfs.vfatsudo mkf转载 2013-01-17 11:13:33 · 12979 阅读 · 0 评论 -
如何合理设置Linux的swap分区
原链:http://commandos.blog.51cto.com/154976/258608/作者:“玄武·巴依”(应作者博文要求)什么是Swap?Swap,即交换区,除了安装Linux的时候,有多少人关心过它呢?其实,Swap的调整对Linux服务器,特别是Web服务器的性能至关重要。通过调整Swap,有时可以越过系统性能瓶颈,节省系统升级费用。Swap的原理是一转载 2013-01-16 21:55:34 · 1554 阅读 · 0 评论 -
linux下的软连接soft link和硬连接hard link《英语》
原文:http://techthrob.com/2010/09/26/softlinks-vs-hardlinks-a-quick-explanation/http://linuxgazette.net/105/pitcher.htmlQ & A: The difference between hard and soft linksBy Lew PitcherI转载 2013-01-04 09:47:43 · 2019 阅读 · 1 评论 -
每次登入linux后,让程序自动启动。。。
原文:http://www.programmer-club.com/showSameTitleN/unix/2426.html两行========之间为不同id的回答。。。每次登入linux後, 如何令程式自動啟動?===============================2005/7/5 下午 05:55:191. 使用 ntsysv2. 放在 /etc/rc转载 2013-01-03 19:29:19 · 663 阅读 · 0 评论 -
debian 6 笔记本触摸板单击功能如何打开
额,突然发现原来早就有人早到方法了,带图的:http://zhwen.org/xlog/?p=532安装完debian 6.0后,笔记本的触摸板没有单击、双击功能,可以移动。解决办法:是系统默认没有打开这个功能System---->Prefereces---->Mouse---->Touchpad---->General选中Enable mouse clicks w原创 2012-12-31 16:13:45 · 1760 阅读 · 0 评论 -
Linux源的知识。。。
原帖:http://www.linuxsir.org/bbs/thread362988.htmlhttp://forum.ubuntu.org.cn/viewtopic.php?p=2693955以ubuntu、debian为例概貌:源列表主文件为 /etc/apt/sources.list,另兼取 /etc/apt/sources.list.d/*,最终结果以并集论。源列转载 2012-12-31 15:56:52 · 840 阅读 · 0 评论 -
在debian系统制作alias命令
# Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in t转载 2013-01-02 19:22:52 · 1290 阅读 · 0 评论 -
debian下手动安装并使用firefox
官网(不是中国官网)下载Firefox 17.0并解压 在终端下,进入下载目录,输入解压命令: tar -vxjf firefox-latest.tar.bz2 -C /opt/ 备份系统中已存在的Firefox执行文件: sudo mv /usr/bin/firefox /usr/bin/firefox-old 创建新版链接: sudo ln -原创 2012-12-31 21:31:47 · 2527 阅读 · 0 评论 -
Debian 和 Mozilla® 在 Firefox 的一些纠纷....导致debian上以iceweawel代替firefox
原文: http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=118, 强烈建议看该文章评论長久以來,Debian 和 Mozilla® 就一直為了 Firefox 商標及名稱的問題爭議不斷。數日前 Debian突然宣布:在即將釋出的 Debian Etch 裡將使用IceWeasel來取代Firefox 這個转载 2013-01-01 20:58:06 · 1272 阅读 · 0 评论 -
debian6.0下安装unrar, rar
直接在源里面apt-get install unrar rar安装的话,有以下两个问题:1、源里面不一定有包2、即使安装成功,unrar中文名称文件时,会出现乱码所以,最好是从rar官网上下载linux包: rarlinux-4.2.0.tar.gz解压,tar -zxvf rarlinux-4.2.0.tar.gz进入解压目录rar: cd rar然后终原创 2013-01-01 14:48:59 · 2296 阅读 · 0 评论 -
debian下smplayer播放视频无声音的问题
请先安装解码器和smplayer解码器essential-20071007.tar.bz2一般都是手动安装,smplayer使用apt-get install即可安装过程,参考mplayer官网步骤:http://www.mplayerhq.hu/DOCS/README安装完之后,使用smplayer播放视频都是没有声音的(我的是这种情况)解决办法:打开mpla原创 2012-12-31 20:27:13 · 2296 阅读 · 0 评论 -
linux下tar解压时的 Record size = 8 blocks提示。。
原帖:http://linux.m2osw.com/tar-record-size-blockshttp://archives.linuxfromscratch.org/mail-archives/lfs-support/2009-November/036933.htmlThe tar utility has changed over time and older versio转载 2012-12-26 10:41:09 · 1287 阅读 · 0 评论 -
debian、ubuntu下安装fencview.vim插件,查看中文不乱码
原文:http://blog.chinaunix.net/uid-20564848-id-74682.html请Google自行下载fencview.vim,基本的搜索查询是基本功,所以就不给出官方下载地址了sudo cp fencview.vim /usr/share/vim/vim72/plugin/打开带有中文字符的文章,如vim zhongwen.txt转载 2013-01-03 17:27:12 · 1513 阅读 · 0 评论 -
linux下挂载mount的意义
原文:http://www.kb.iu.edu/data/anqk.htmlARCHIVED: What is meant by mounting a drive?Before your computer can use any kind of storage device (such as a hard drive, CD-ROM, or network share), you转载 2013-01-05 11:24:40 · 1454 阅读 · 0 评论 -
linux、gcc和bash的学习网站
以下只是gcc的学习网址,暂时记录下来,需要用到的时候man gcc+查看这些网址即可。gcc and make compiling, linking and building C/C++ applications:http://www3.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.htmlAn Introduction t原创 2013-01-15 20:52:16 · 917 阅读 · 0 评论 -
debian下man gcc的问题
原链:http://unix.stackexchange.com/questions/42474/find-and-install-man-file-manuallyMany GNU projects, including GCC, license their documentation under the GNU Free Documentation License. There i转载 2013-01-15 11:12:52 · 1391 阅读 · 0 评论 -
ubuntu、debian下eject与safeley remove drive、umount的区别
原链:http://askubuntu.com/questions/86019/what-is-the-difference-between-eject-and-safely-remove-devicehttp://askubuntu.com/questions/56270/how-can-i-spin-down-external-hard-driveYou can safely转载 2013-01-11 16:28:38 · 2717 阅读 · 0 评论