Kategorie: x_library
ps – report a snapshot of the current processes.
| ksh | kshrc | profile | Das Absolute Korn Shell Enviroment
PS2=’# ‚ fi # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then alias ls=’ls –color=auto‘ alias grep=’grep –color=auto‘ alias fgrep=’fgrep –color=auto‘ alias egrep=’egrep –color=auto‘ fi # — # # — Set a DISPLAY enviroment for X Display emulation export DISPLAY;DISPLAY=“$(echo „$SSH_CLIENT“ | awk ‚{print $1}‘):0″ # — Die EDITOR variable definiert den Standard Editor type fĂźs Anwendungen die eine externe Editor nĂź # — Vim (Vi IMproved) […]
extrem linux commands | du |
# ——————————————————— # — : # du -hsx * | sort -rh | head -6 # 34G VirtualBox VMs # 9,3G Downloads # 8,2G vmware # 6,7G ownCloud # 2,7G Videos # 1,4G Pictures # ———————————————————
wordpress proxy
.
openwrt | tftp boot |
1. PARALER port fest schweisen. 2. Usb geret driwer instalieren instaliern. 3. Image download 5. Install configure webserver. 6. Install configure dnsmasq 7. Shutdown firawahl iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -F ufw disable 8. Fix ip. 9. Start dnsmasq 10. connect router. USB und UTP 11. Start und conect paraler connectio terminal 12. 13.
putty
Click Start->Run and type „RegEdt32“ in the „Open“ dialog. Click „Ok“
CentOs
http://www.cyberciti.biz/faq/linux-configure-a-static-ip-address-tutorial/
Run Levels – init –
RadHat / CentOs 0 — Halt 1 — Single-user text mode 2 — Not used (user-definable) 3 — Full multi-user text mode 4 — Not used (user-definable) 5 — Full multi-user graphical mode (with an X-based login screen) 6 — Reboot Debian / Ubuntu 0 — Halt 1 — Single-user text mode 2 — Full multi-user graphical mode (with an X-based login screen) 3 — Not used (user-definable) 4 — Not used (user-definable) 5 — […]
environment variables
In ksh HISTTIMEFORMAT has no effect at all. Here is the difference between environment variables related to history: Code: /bin/ksh /bin/bash HISTCONTROL HISTCMD HISTEDIT HISTFILE HISTFILE HISTSIZE HISTSIZE HISTFILESIZE HISTIGNORE HISTTIMEFORMAT