Create New Folder

This Folder contains the Supreme Galactica Informatica core dumps from life & beyond. Let ye threads be safe.
Aug 19
Permalink

#b alias

all alias below:


#alias
alias wget=’wget —directory-prefix=/downloads/unsorted/direct/wget ‘
alias ll=’ls -ahlrtF’
alias l=’ls -lhF’
#alias la=’ls -rltha’
alias lt=’ls -lrtha’

alias du=”du -sh”
alias df=”df -h”

alias cd..=’cd ..’
alias ..=’cd ..’
alias …=’cd ../..’

alias gotemp=’cd ~/temp’
alias temp=’cd ~/temp’

alias pkill=’pkill -9’
alias phup=’pkill -1’
alias pff=’ps -ef f’
alias pfg=’ps -ef f | grep ‘

alias rudo=’sudo su - root’
alias rebash=’. ~/.bashrc’
#alias vialias=’vi ~/.env/alias’

alias setx=”export DISPLAY=192.168.2.100:0.0”
alias sety=”export DISPLAY=192.168.2.101:0.0”
alias setz=”export DISPLAY=””

alias vibashrc=’vi ~/.bashrc’

#[ root only
if [[ “$(/usr/bin/whoami)” = “root” ]]; then

dialog —title ‘ROOT!’ —textbox ~/_cowsay.txt 16 45
#cowsay -s Hey man, you are ROOT now! Careful!
echo “”
alias vialias=’vi /data/home/.env/alias’
alias vifuncton=’vi /data/home/.env/function’
alias vienv=’vi /data/home/.env/env’
alias viprompt=’vi /data/home/.env/bash_prompt’
fi
#]

alias whatismyip=’ curl -s www.whatismyip.com/automation/n09230945.asp; echo “”’
alias myip=’curl -s www.whatismyip.com/automation/n09230945.asp; echo “”’

# misc

alias netsl=’netstat -leeptu’ # listening sockets
alias netsc=’netstat -eeptu’ # connected sockets
alias memfree=’free -m’ # available memory

# directory shortcuts
alias golog=’cd /var/log’ # change to log dir
alias gowww=’cd /data/apps/www/’

Comments (View)
blog comments powered by Disqus