menu.lst备份

pjq@localhost ~ $ cat /media/sda11/boot/grub/menu.lst # menu.lst – See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. gfxmenu (hd0,10)/boot/message.cristal ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not […]

Gentoo修改文件默认编辑器

Gentoo修改文件默认编辑器     需要修改/etc/rc.conf文件: #EDITOR=”/bin/nano” EDITOR=”/usr/bin/vim” #EDITOR=”/usr/bin/emacs” 选择自己的习惯的编辑器 照这样做了,用crontab -e测试了一下,好像没改过来, 然后用set|grep EDITOR看了一下 EDITOR=/bin/nano 想想修改.bashrc应该可以的吧 就将 EDITOR=/usr/bin/vim 添加到.bashrc里,重启一个终端, crontab -e 是用vim 打开的

gentoo 备份之xorg.conf,make.conf,.config

cat /etc/X11/xorg.conf # xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type “man xorg.conf” at the shell prompt.) # # This […]