#!/bin/bash
# -------------------------------------------------------------------
# ~/.bash_alias.rc: Standard aliases (e.g. shortcuts)
# vim: set filetype=sh : (vim modeline for syntax of this file)
# (c) Copyright 2008 _m (http://eccentrix.com/misc/mammon)
# -------------------------------------------------------------------

# ls variations
alias ll='ls -FAlhq'				# long ls
alias lt='ls -FAlhtq'				# long ls by time
alias lm='ls -AFq --color=never'		# monochrome ls
alias lsm='ls -A1q --color=never'		# 'clean' mono ls
alias lss='ls -AlhqS'				# long ls by size
alias lsx='ls -Nalin --color=never'		# 'power' ls

# ps variations
alias psax='ps -auwwx'				# show all processes

# vim
alias vimc='vim -u NORC'			# vim w/o ~/.vimrc

# wget 
alias wgetr='wget -r -w5 --random-wait -l2 -np -k'      # recursive wget

# shell management
alias hc='history -c'				# clear shell history

# misc
alias pwgen='pwgen -ycn 10'            		# password generation
alias sockl='netstat -leeptu'          		# listening sockets
alias sockc='netstat -eeptu'           		# connected sockets
alias memfree='free -m'                		# available memory

# directory shortcuts
alias src='cd /usr/src'				# change to source dir
alias log='cd /var/log'				# change to log dir
