分页: 1 / 2

一些配置文件

发表于 : 2012-02-16 17:53
YeLee
好吧,不过是一些配置文件。放在这里会不会比放在硬盘里安全呢? :em01

Re: 一些配置文件

发表于 : 2012-02-16 17:53
YeLee
cat ~/.bashrc
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !


# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
alias la='ls -A'
alias ll='ls -l'

# Put your fun stuff here.

Re: 一些配置文件

发表于 : 2012-02-16 17:54
YeLee
cat ~/.xinitrc
export XMODIFIERS="@im=fcitx"
export XIM="fcitx"
export XIM_PROGRAM="fcitx"
#export GTK_IM_MODULE="xim"
#export QT_IM_MODULE="xim"
exec ck-launch-session startxfce4

Re: 一些配置文件

发表于 : 2012-02-16 17:54
YeLee
cat ~/.inputrc
"\e[A":history-search-backward
"\e[B":history-search-forward

Re: 一些配置文件

发表于 : 2012-02-16 17:56
YeLee
tail -n 1 /etc/bash/bashrc
[[ -f /etc/profile.d/bash-completion.sh ]] && source /etc/profile.d/bash-completion.sh

Re: 一些配置文件

发表于 : 2012-02-16 17:57
YeLee
tail -n 8 /etc/fstab
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda5 none swap sw 0 0
/dev/sda6 / ext4 noatime 0 1
/dev/sda7 /home ext4 defaults 0 1
/dev/sda8 /var reiserfs defaults 0 1
/dev/sda9 /tmp ext4 defaults 0 1
/dev/sda10 /media/Software ext4 defaults 0 1
/dev/sda11 /media/Data ext4 defaults 0 1

Re: 一些配置文件

发表于 : 2012-02-16 17:58
YeLee
grep -v ^'#' /boot/grub/grub.conf
default 0
timeout 0
hiddenmenu

title Gentoo Linux 3.1.6
root (hd0,0)
kernel /linux-3.1.6-gentoo root=/dev/sda6 video=uvesafb:1360x768-32,mtrr:3,ywrap quiet

Re: 一些配置文件

发表于 : 2012-02-16 17:59
YeLee
grep -v ^'#' /etc/make.conf
CFLAGS="-O2 -pipe -march=core2"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
CHOST="x86_64-pc-linux-gnu"
FEATURES="buildpkg"
USE="-bluetooth -gallium -gnome -kde -llvm -ipv6 -ppp bash-completion cjk ffmpeg gstreamer lame mpg123 networkmanager nvidia pulseaudio slang sndfile sqlite theora vdpau vim-syntax"
DISTDIR="/media/Data/.gentoo"
PKGDIR="/media/Data/.gentoo/packages"
GENTOO_MIRRORS="http://202.38.95.110/gentoo"
SYNC="rsync://202.38.95.110/gentoo-portage"
LINGUAS="zh zh_CN"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse evdev synaptics"
VIDEO_CARDS="nvidia"

Re: 一些配置文件

发表于 : 2012-02-16 18:00
YeLee
echo MAKEOPTS=\"-j$(expr $(cat /proc/cpuinfo |grep model\ name|wc -l) + 1)\"

Re: 一些配置文件

发表于 : 2012-02-16 18:01
YeLee
find /var/tmp/portage -name "buid.log" -exec tail -f {} \;

Re: 一些配置文件

发表于 : 2012-02-16 18:02
YeLee
cat /var/lib/portage/world
app-admin/sudo
app-admin/syslog-ng
app-arch/cabextract
app-arch/file-roller
app-arch/p7zip
app-cdr/cdrkit
app-editors/leafpad
app-emulation/virtualbox
app-i18n/fcitx
app-i18n/fcitx-configtool
app-portage/gentoolkit
app-text/mupdf
gnome-extra/nm-applet
mail-client/claws-mail
media-fonts/corefonts
media-fonts/wqy-zenhei
media-gfx/gimp
media-gfx/imagemagick
media-gfx/mirage
media-plugins/audacious-plugins
net-libs/libpcap
net-misc/aria2
net-misc/axel
net-misc/dhcp
net-misc/dhcpcd
sys-apps/v86d
sys-boot/grub
sys-fs/reiserfsprogs
sys-kernel/gentoo-sources
sys-power/cpufrequtils
www-client/firefox
x11-base/xorg-server
x11-terms/terminal
x11-themes/audacious-themes
x11-themes/faenza-icon-theme
x11-themes/pidgin-smileys
x11-themes/smplayer-themes
x11-themes/tango-icon-theme
x11-themes/xfwm4-themes
xfce-base/xfce4-meta
xfce-extra/thunar-archive-plugin
xfce-extra/thunar-volman
xfce-extra/tumbler
xfce-extra/xfce4-battery-plugin
xfce-extra/xfce4-clipman-plugin
xfce-extra/xfce4-cpufreq-plugin
xfce-extra/xfce4-mixer
xfce-extra/xfce4-power-manager
xfce-extra/xfce4-screenshooter
xfce-extra/xfce4-sensors-plugin
xfce-extra/xfce4-taskmanager

Re: 一些配置文件

发表于 : 2012-02-16 19:09
jtshs256
放 github 上会 shi 啊?…

Re: 一些配置文件

发表于 : 2012-02-16 19:20
枫叶饭团
jtshs256 写了:放 github 上会 shi 啊?…

Re: 一些配置文件

发表于 : 2012-02-16 19:21
qy117121
枫叶饭团 写了:
jtshs256 写了:放 github 上会 shi 啊?…

Re: 一些配置文件

发表于 : 2012-02-16 19:39
YeLee
不爽 :em01
放多几个地方安全点。 :em02 :em02 :em02