~/.bashrc oder /etc/bash.bashrc
alias la = 'ls -la'
/etc/gdm3/daemon.conf
Enabling automatic login AutomaticLoginEnable = true AutomaticLogin = user
cd /etc/network sudo vi interfaces #auto eth0 #auto wlan0 # ...
http://cosmolinux.no-ip.org/raconetlinux2/persistence.html
Problem: Standard Soundausgabe auf HDMI
Lösung: cat /dev/sndstat
Wenn HDMI als Soundkarte 0 gelistet ist, folgendes in /etc/modprobe.d/snd-hda-intel.conf eintragen:
options snd-hda-intel index=0,-2
Dann
sudo rmmod snd-hda-intel sudo modprobe snd-hda-intel oder reboot
→ HDMI sollte jetzt in /dev/sndstat nicht mehr an erster Stelle stehen.
dpkg --get-selections | grep "\binstall" | awk '{print $1}' > /tmp/dpkg.log
sudo xargs -n1 apt-get --reinstall install -y < /tmp/dpkg.log
apt-get install rcconf
https://www.debian.org/News/2016/20160702
http://maintainer.skolelinux.org/debian-edu-doc/de/debian-edu-jessie-manual.pdf
"deb http://ftp.debian.org/debian/ jessie-backports main" in /etc/apt/sources.list eintragen apt-get update apt-get install -t jessie-backports tuxtype
hostnamectl uname -mrs lsb_release -a hostnamectl
uname -mrs lsb_release -a sudo apt-get update sudo apt-get dist-upgrade reboot uname -mrs lsb_release -a dmesg | egrep -i 'err|warn|critical' sudo tail -f /var/log/myapp
apt-cache search paketname
apt-cache policy paketname
apt-cache madison paketname
apt-get --reinstall install paketname
apt-get upgrade
apt-get dist-upgrade
/etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback #auto wlan0 #iface wlan0 inet dhcp #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug eth0 iface eth0 inet static address 10.0.0.1 netmask 255.255.255.0 gateway 10.0.0.138 dns-domain peer.st dns-nameservers 10.0.0.138 dns-nameservers 8.8.8.8
/etc/init.d/networking restart
dpkg-reconfigure tzdat
Der Wert wheezy ist für APT::default release ungültig
Datei /etc/apt/apt.conf mit folgendem Inhalt anlegen: APT::Default-Release "jessie";
apt-get install debian-keyring gpg --keyserver pgp.mit.edu --recv-keys 1F41B907 gpg --armor --export 1F41B907 | apt-key add -
chown -R man /var/cache/man
sudo apt-get install debconf console-data sudo dpkg-reconfigure keyboard-configuration sudo dpkg-reconfigure console-data sudo dpkg-reconfigure locale
http://www.tippscout.de/ubuntu-dienste-automatisch-starten_tipp_5451.html
update-rc.d mysql defaults
update-rc.d mysql remove
/boot/grub/grub.cfg
vi /etc/enviroment
HISTSIZE=2000 HISTFILESIZE=20000
vi /etc/bash.bashrc
# enable bash completion in interactive shells if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi
lsb_release -a
#Debian Server #deb http://http.debian.net/debian wheezy main #deb-src http://http.debian.net/debian wheezy main #deb http://http.debian.net/debian wheezy-updates main #deb-src http://http.debian.net/debian wheezy-updates main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main #debian - Österreich #deb http://ftp.at.debian.org/debian/ wheezy main contrib non-free #deb-src http://ftp.at.debian.org/debian/ wheezy main contrib non-free #deb http://ftp.at.debian.org/debian/ wheezy-updates main contrib non-free #deb-src http://ftp.at.debian.org/debian/ wheezy-updates main contrib non-free
apt-get install kde-l10n-de iceweasel-l10n-de icedove-l10n-de
http://live.debian.net
keyboard_layout=de
vi /etc/rc.local
Vorlage: /etc/init.d/skeleton
$ sudo chmod 755 /etc/init.d/foobar $ sudo update-rc.d foobar defaults
$ sudo update-rc.d -f foobar remove
... deb http://debian.inode.at/debian squeeze main contrib non-free deb http://www.backports.org/debian squeeze-backports main contrib non-free deb http://security.debian.org/ squeeze-updates main contrib non-free deb http://www.debian-multimedia.org/ squeeze main non-free deb http://mirror.home-dn.net/debian-multimedia/ squeeze main ...
apt-get update apt-get install debian-backports-keyring
apt-get install vim mc nmap
apt-get install openssh-server
apt-get install sun-java6-jre update-alternatives --config java
apt-get install flashplugin-nonfree
apt-get update apt-get install build-essential module-assistant
m-a prepare
mount /media/cdrom sh /media/cdrom/VBoxLinuxAdditions.run
Put the following lines in your ~/.inputrc:
## arrow up "\e[A":history-search-backward ## arrow down "\e[B":history-search-forward
aptitude search linux-image
aptitude -t lenny-backports install debian-backports-keyring linux-image-2.6.32-bpo.5-amd64 linux-headers-2.6.32-bpo.5-amd64
gdmsetup
apt-get install debian-multimedia-keyring
apt-get install flashplugin-nonfree update-flashplugin-nonfree --install
apt-get install dvdauthor apt-get install dvdbackup apt-get install dvdrtools apt-get install dvd+rw-tools apt-get install k9copy ....or for Gnome Desktop consider Brasero apt-get install libmad0 apt-get install lame apt-get install libavifile-0.7c2 apt-get install libdvdcss2 apt-get install libdvdnav4 apt-get install libdvdread3 apt-get install liblame0 apt-get install libxine1-ffmpeg apt-get install mencoder apt-get install msttcorefonts ...(this one will take a bit of time) apt-get install transcode apt-get install vamps apt-get install w32codecs ......or w64codiecs where applicable apt-get install kaffeine ..... or for Gnome Desktop consider Mplayer or Totem apt-get install vlc apt-get install flac apt-get install gstreamer0.10-ffmeg apt-get install gstreamer0.10-fluendo-mp3 apt-get install gsteamer0.10-plugins-bad apt-get install xine-console and the libxine plugin support ....libxine1-misc-plugins ....libxine1-ffmpeg ....libxine1-plugins ....libxine1-x
apt-get install poppler-utils
<?php $datei="l110328"; if (file_exists("$datei.pdf") AND !file_exists("$datei.html")) { exec("pdftohtml -c -i -noframes $datei.pdf $datei.html",$noecho); exec("sed 's/<BODY bgcolor=\"#A0A0A0\"/<BODY bgcolor=\"#FFFFFF\"/' $datei.html > tmp",$noecho); exec("rm html/$datei.html;mv html/tmp html/$datei.html",$noecho); } ?>
vi /etc/init.d/clean
#!/bin/bash rm /etc/udev/rules.d/70-persistent-net.rules ethtool -s eth0 wol g
chmod a+x /etc/init.d/clean
update-rc.d clean start 20 0 6 .
... set number ... syntax on ... if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif ...
... # alternate mappings for "page up" and "page down" to search the history "\e[5~": history-search-backward "\e[6~": history-search-forward ...
... test -s /etc/profile.d/ls.bash && . /etc/profile.d/ls.bash test -s /etc/profile.d/alias.bash && . /etc/profile.d/alias.bash
case "$-" in *i*) # # Colored file listings # if test -x /usr/bin/dircolors ; then # # set up the color-ls environment variables: # if test -f $HOME/.dir_colors ; then eval "`/usr/bin/dircolors -b $HOME/.dir_colors`" elif test -f /etc/DIR_COLORS ; then eval "`/usr/bin/dircolors -b /etc/DIR_COLORS`" fi fi # # ls color option depends on the terminal # If LS_COLORS is set but empty, the terminal has no colors. # if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then LS_OPTIONS=--color=tty else LS_OPTIONS=--color=none fi if test "$UID" = 0 ; then LS_OPTIONS="-A -N $LS_OPTIONS -T 0" else LS_OPTIONS="-N $LS_OPTIONS -T 0" fi # # Avoid trouble with Emacs shell mode # if test "$EMACS" = "t" ; then LS_OPTIONS='-N --color=none -T 0'; fi export LS_OPTIONS # # useful ls aliases # if test "$is" != "ash" ; then unalias ls 2>/dev/null fi case "$is" in bash) alias ls='ls $LS_OPTIONS' ;; zsh) alias ls='\ls $=LS_OPTIONS' ;; *) alias ls='/bin/ls $LS_OPTIONS' ;; esac alias dir='ls -l' alias ll='ls -l' alias la='ls -la' alias l='ls -alF' alias ls-l='ls -l' ;; esac
# # Some useful functions # if test -z "$restricted" ; then startx () { test -x /usr/bin/startx || { echo "No startx installed" 1>&2 return 1; } /usr/bin/startx ${1+"$@"} 2>&1 | tee $HOME/.xsession-errors } remount () { /bin/mount -o remount,${1+"$@"} ; } fi # # Set some generic aliases # alias o='less' alias ..='cd ..' alias ...='cd ../..' alias cd..='cd ..' if test "$is" != "ksh" ; then alias -- +='pushd .' alias -- -='popd' fi alias rd=rmdir alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias md='mkdir -p' if test "$is" = "bash" -a ! -x /bin/which -a ! -x /usr/bin/which ; then # # Other shells use the which command in path (e.g. ash) or # their own builtin for the which command (e.g. ksh and zsh). # _which () { local file=$(type -p ${1+"$@"} 2>/dev/null) if test -n "$file" -a -x "$file"; then echo "$file" return 0 fi hash -r type -P ${1+"$@"} } alias which=_which fi alias rehash='hash -r' alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi' if test "$is" != "ksh" ; then alias beep='echo -en "\007"' else alias beep='echo -en "\x07"' fi alias unmount='echo "Error: Try the command: umount" 1>&2; false'
... PS1='\[\033[1;31m\]\u@\h:\w #\[\033[0m\] ' ...