随笔分类 - 00.Unix/Linux
摘要:本人一块磁盘第7分区装linux,第一分区先装xp,后重装为windows8.1后,发现grub引导没了,直接进了windows,解决办法如下:1、LiveCD进入系统,打开shell2、输入sh#fdisk -l进入磁盘列表。记下来自己Linux和Windows都安装在哪。3、输入sh#grub,...
阅读全文
摘要:若不更新链接,运行时可能会发生错误:./a.out: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./a.out)strings /usr/lib64/libstdc++.so.6 | grep G...
阅读全文
摘要:https://www.kernel.org/http://lxr.linux.no/
阅读全文
摘要:(gdb) mapkeys C-B : break "${fname}":${lnum} # set breakpoint at current line C-D : down C-E : clear "${fname}":${lnum} # clear breakpoint at curre...
阅读全文
摘要:yum install gityum install git-gui (可选)git config --global user.name "gg"git config --global user.email gg@gmail.com cat ~/.gitconfig git initgit pull...
阅读全文
摘要:wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Package...
阅读全文
摘要:On GNU versions of find you can use -executable:find . -type f -executable -printFor BSD versions of find, you can use -perm with + and an octal mask:...
阅读全文
摘要:http://askubuntu.com/questions/271388/how-to-install-gcc-4-8-in-ubuntu-12-04-from-the-terminalsudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get updatesudo apt-get install gcc-4.8sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
阅读全文
摘要:https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:RforlotListing RulesCurrent running iptables Rules can be viewed with the commandiptables -L.Numeric port valueThe list of Rules with the -L command option shows ports by their service name rather than port number. To see the por
阅读全文
摘要:官网:http://redis.io中文翻译:http://redis.cn/windows预编好的版本下载:https://github.com/dmajkic/redis/downloads客户端API:C#ServiceStack.Redis☺★HomepagedemisbellotThis is a fork and improvement of the original C# client written by Miguel De Icaza.Booksleeve☺★HomepagemarcgravellThis client was developed by Stack Excha
阅读全文
摘要:Windows的命令是:netstat -ano | findstr "80" (注80是你想要看查看的端口号)Linux:法1:ps aux | grep httpdnetstat -anp | grep httpd法2:ps -ef | grep httpdnetstat -tunpl | gr...
阅读全文
摘要:Ctrl + L : 清屏。Ctrl + U : 清除光标前至行首间的所有内容。Ctrl + W : 移除光标前的一个单词Ctrl + K : 清除光标后至行尾的内容。Tab : 自动补完命令Ctrl + A : 光标移到行首。Ctrl + E : 光标移到行尾。Ctrl + F : 光标前移一个字符。Ctrl + B : 光标后移一个字符。Ctrl + C : 杀死当前进程。Ctrl + D : 退出当前 Shell。Ctrl + H : 同 backspace 键相同。Ctrl + R : 搜索之前打过的命令。Ctrl + Z : 把当前进程转到后台运行,使用' fg '命
阅读全文
摘要:1.安装编绎器:yum groupinstall "Development Tools"2.下载组件:http://www.tuxera.com/community/ntfs-3g-download/3.编绎安装./configuremakemake install # or 'sudo make install' if you aren't root4.挂载mount -t ntfs-3g /dev/sda1 /mnt/windows(注:其中 /dev/sda1可以通过使用root用户 fdisk -l 命令查看所有分区得到)5.启动自动挂载(可
阅读全文
摘要:GLX-Dock (Cairo-Dock with OpenGL)is so cool
阅读全文
摘要:http://askubuntu.com/questions/211409/is-there-classic-mode-in-ubuntu-12-10sudo apt-get install gnome-session-fallbackstartdict星际译王词典下载 http://forum.ubuntu.org.cn/viewtopic.php?f=86&t=313666
阅读全文

浙公网安备 33010602011771号