Aliases you use

VastOne

VSIDO comes with the following aliases installed .. which you can get at anytime by using the alias al in terminal

vastone@vsido:~$ al
alias up='sudo apt-get update && sudo apt-get dist-upgrade'
alias get='sudo apt-get install'
alias rem='sudo apt-get autoremove'
alias cl='sudo apt-get autoclean'
alias se='apt-cache policy'
alias upg='sudo update-grub'
alias grc='ps aux | grep'
alias re='source ~/.bashrc'
alias cd..='cd ..'
alias md=mkdir
alias sdn='sudo shutdown -h now'
alias prg="sudo apt-get purge"
alias ls='ls -F --color --group-directories-first'
alias l="ls -lha"
alias c='clear'
alias q='exit'
alias s='sudo'
alias al='cat ~/.bash_aliases'
alias muz='cd $HOME/music && gyts'


What do you use?
VSIDO      VSIDO Change Blog    

    I dev VSIDO

jedi

Just used "muz" tonight!!!  Some excellent 'aliases'!!!
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

VastOne

Thanks jedi!

I use muz quite a bit... If watching a movie or a something on TV I hear a song by someone I have not heard from before and after a google search I find it and use muz to get it...

It does it all for you.
VSIDO      VSIDO Change Blog    

    I dev VSIDO

McLovin

I actually use a combination of the ones you put in, as well as a bunch of my own that had already from ones I have made over time to save time on things I was doing, as well as various INXI aliases that work quite well.
alias up='sudo apt-get update && sudo apt-get dist-upgrade'
alias get='sudo apt-get install'
alias rem='sudo apt-get autoremove'
alias cl='sudo apt-get autoclean'
alias se='apt-cache policy'
alias upgrub='sudo update-grub'
alias grc='ps aux | grep'
alias re='source ~/.bashrc'
alias cd..='cd ..'
alias md='mkdir'
alias sdn='sudo shutdown -h now'
alias reboot='sudo shutdown -r now'
alias prg="sudo apt-get purge"
alias ls='ls -F --color --group-directories-first'
alias l='ls -lha'
alias c='clear'
alias q='exit'
alias s='sudo'
alias al='cat ~/.bash_aliases --color'
alias muz='cd $HOME/music && gyts'

######################################################
################# My Added Aliases ###################
######################################################
alias sl="sudo gedit /etc/apt/sources.list"
alias install='sudo apt-get install'
alias reinstall='sudo apt-get install --reinstall'
alias finstall='sudo apt-get -f install'
alias update='sudo apt-get update'
alias upgrade='sudo apt-get dist-upgrade'
alias dupgrade='sudo apt-get dist-upgrade'
alias agi='sudo apt-get install'
alias agu='sudo apt-get update'
alias agg='sudo apt-get dist-upgrade'
alias agug='sudo apt-get update && sudo apt-get dist-upgrade'
alias remove='sudo apt-get remove'
alias autoremove='sudo apt-get autoremove'
alias purge='sudo apt-get remove --purge'
alias agp='sudo apt-get autoremove --purge'
alias agar='sudo apt-get autoremove'
alias add='sudo add-apt-repository'
alias search='apt-cache search'
alias clean='sudo apt-get clean'
alias autoclean='sudo apt-get autoclean'
alias install-norec='sudo apt-get install --no-install-recommends'
alias ls='ls --color=auto'
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias addgpg='sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys'
alias addkey='sudo gpg --keyserver subkeys.pgp.net --recv'
alias expkey='gpg --export --armor'
alias keyadd='sudo apt-key add - '
alias sfonts='sudo fc-cache -fv'
alias fonts='fc-cache -fv'
alias da='date "+%a, %b %d, %Y [%I:%M %P]"'
alias dat='date "+%A, %B %d, %Y [%I:%M %P]"'

######################################################
############### Various INXI Aliases #################
######################################################
####################### Short ########################
alias s11='inxi -Fz -c6' ## filtered
alias S11='inxi -F -c6' ## not filtered
####################### Full #########################
alias SYS='inxi -ACDfGIpluNrsSt cm3 -x -v7 -c6' ## not filtered
alias sys='inxi -ACDfGIpluNrsSt cm3 -x -v7 -c6 -z' ## Filtered
####################### Pieces #######################
alias aud='inxi -A -x -c6'
alias cpu='inxi -Cf -x -c6'
alias hdd='inxi -Dd -x -c6'
alias mac='inxi -M -x -c6'
alias net='inxi -N -x -c6'
alias par='inxi -plu -x -c6'
alias sen='inxi -s -x -c6'
alias gfx='inxi -Gx -x -c6'

Visit my DeviantArt page and My Blog

Digit

nice thread.  :)

on this #!-sid-o-tabularist x60t, currently:

alias acs='apt-cache search'
alias acsi='apt-cache --installed search'
alias agR='sudo apt-get --purge remove'
alias agar='sudo apt-get autoremove'
alias agc='sudo apt-get clean'
alias agdu='sudo apt-get dist-upgrade'
alias agi='sudo apt-get install'
alias agpr='sudo apt-get --purge remove'
alias agr='sudo apt-get remove'
alias agu='sudo apt-get update'
alias agup='sudo apt-get upgrade'
alias big='ls -laSh | head'
alias cdls='cd $1 && ls'
alias dit='emacsclient'
alias fehb='feh --bg-scale'
alias fehbc='feh --bg-center'
alias fehbf='feh --bg-fill'
alias fehbs='feh --bg-scale'
alias ls='ls --color=auto'
alias running='PS_FORMAT="user,pid,pcpu,pmem,start,args" ps axf'
alias s='gksu'


and lots of other scripts (slowly starting to appear on gitorious), many which could just as easily be just an alias, but i suppose i change my .bashrc more often, and often neglect backing up, more than i do with my precious ~/bin.  the stuff in ~/bin i suppose is generally more "distro-agnostic".

some of those aliaai i've forgotten i had made... like "s". XD  and i keep forgetting i've made "dit", so that i need not type emacsclient, nor even less and then ctrl v, which then of course just lengthen's the closing as well as the opening.   hehe, si~   sorry, rambling.

aliases are cool.

Digit

added the ones from http://vsido.org/index.php/topic,21.0.html and suggests all distros get this as standard. 

Digit

i just created "fime", to tell me the time in a friendly vocal human way.
so lovely i have to share. ^_^

#digit's flite aliases
alias fime='flite_time `date +%H:%M`'

statmonkey

That's a nice one Digit.  I have been meaning to add one I use a fair amount.  It just gives you a more visual summary of the directory you are in and the sub-tree.
alias alr='ls -R' #visual dir output

VastOne

^ I like that one statmonkey, added to the default of VSIDO

Thanks!
VSIDO      VSIDO Change Blog    

    I dev VSIDO

statmonkey

Great.  I want to show some love for another of my favorites "tac" but I don't use it in an alias.  So I put it in my latest How-To.  But here is some detail from the LinuxJournal:

tac--Concatenate in Reverse

What is cat spelled backwards? Well, that's what tac's functionality is all about. It concatenates file order and their contents in reverse. So what's its usefulness? It can be used on any task that requires ordering elements in a last-in, first-out (LIFO) manner. Consider the following command line to list the three most recently established user accounts from the most recent through the least recent.

# (5) last 3 /etc/passwd records - in reverse
$ tail -3 /etc/passwd | tac
curly:x:1003:100:3rd Stooge:/homes/curly:/bin/ksh
larry:x:1002:100:2nd Stooge:/homes/larry:/bin/ksh
moe:x:1001:100:1st Stooge:/homes/moe:/bin/ksh

statmonkey

Another question somewhere reminded me of this one:
alias deps='apt-cache show' #with app will give you depends info etc.

very handy provides output like:
QuotePackage: bashburn
Version: 3.0.1-1
Installed-Size: 980
Maintainer: Andreas Noteng <andreas@noteng.no>
Architecture: all
Depends: bash (>= 3.0), cdrdao, wodim, dvd+rw-tools, cdparanoia, vorbis-tools, flac, eject, normalize-audio, mpg123, sudo, genisoimage
Description-en: simplify cd/dvd burning at the command line
Bashburn is a tool written in Bash to simplify dvd/cd burning and ripping at
the command line, BashBurn can also manipulate ISO images. BashBurn handles
burning of multiple image formats, including ISO, bin/cue and nrg.
Description-md5: 225c7a595405a13d0dc50653a4cf8dc0
Homepage: http://bashburn.dose.se/index.php
Tag: implemented-in::shell, interface::commandline, role::program,
use::storing, works-with-format::iso9660
Section: utils
Priority: extra
Filename: pool/main/b/bashburn/bashburn_3.0.1-1_all.deb
Size: 129348
MD5sum: 0d81692df7036186c70a1a913d9f78c8
SHA1: 5d2f352bdfa3302ebffda03452fa2b30df357ca4
SHA256: 5eeb27103b220b3036a6d89b5fb8d3e5eb0e45bcafedcae57dedc90db96e0ef5

VastOne

^ Excellent one... Will add that one
VSIDO      VSIDO Change Blog    

    I dev VSIDO

Digit

#12
alias mplayer="mplayer -af scaletempo"
^ enables changing the speed of mplayer without changing the pitch.  no chipmunks!

( "[" slower by 10%, "]" faster by 10%, "{" slower by half, "}" faster by double )


Digit

just tested that with mpv.  works the same.  i presume mplayer2 is same as mplayer too.   maybe smplayer and umplayer will also accept -af scaletempo

greywolf

Just joined up here folks. This is my .bash_aliases after adding a few from your default.


## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'

# install  colordiff package :)
alias diff='colordiff'

alias mount='mount |column -t'

## pass options to free ##
alias meminfo='free -m -l -t'

## get top process eating memory
alias psmem='ps auxf | sort -nr -k 4'
alias psmem10='ps auxf | sort -nr -k 4 | head -10'

## get top process eating cpu ##
alias pscpu='ps auxf | sort -nr -k 3'
alias pscpu10='ps auxf | sort -nr -k 3 | head -10'

## Get server cpu info ##
alias cpuinfo='lscpu'

## older system use /proc/cpuinfo ##
##alias cpuinfo='less /proc/cpuinfo' ##

## get GPU ram on desktop / laptop##
alias gpumeminfo='grep -i --color memory /var/log/Xorg.0.log'

# some more ls aliases
alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias ll='ls -l --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias lx='ls -lXB'        # sort by extension
alias lk='ls -lSr'        # sort by size
alias lr='ls -lR'        # recursice ls
alias lt='ls -ltr'        # sort by date
alias lm='ls -al |more'        # pipe through 'more'
alias tree='tree -Cs'        # nice alternative to 'ls'
alias l='ls -hF --color'    # quick listing
alias lsize='ls --sort=size -lhr' # list by size
alias lsd='ls -l | grep "^d"'   #list only directories

#Command substitution
alias ff='sudo find / -name $1'
alias df='df -h -x tmpfs -x usbfs'
alias psg='ps -ef | grep $1'
alias h='history | grep $1'
#alias rm='rm -i'
#alias cp='cp -i'
#alias mv='mv -i'
alias mkdir='mkdir -p -v'
alias which='type -all'
alias path='echo -e ${PATH//:/\\n}'
alias vi='vim'
alias du='du -h -c --max-depth=1'
alias reload='source ~/.bashrc'
#alias dupgrd='sudo apt-get update && sudo apt-get dist-upgrade -d'
alias c='clear'

#Personal Help
#alias dn='OPTIONS=$(\ls -F | grep /$); select s in $OPTIONS; do cd $PWD/$s; break;done'
#alias help='OPTIONS=$(\ls ~/.tips -F);select s in $OPTIONS; do less ~/.tips/$s; break;done'

#show most popular commands
alias top-commands='history | awk "{print $2}" | awk "BEGIN {FS="|"} {print $1}" |sort|uniq -c | sort -rn | head -10'

# package search & info
alias acs="apt-cache search"
alias acp="apt-cache policy"
deps='apt-cache show' #with app will give you depends info etc.

# empty trash
alias trash="rm -fr ~/.Trash"

## Moving around & all that jazz
alias back='cd "$OLDPWD"'
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ......="cd ../../../../.."

## Dir shortcuts
alias home='cd ~/'
alias documents='cd ~/Documents'
alias downloads='cd ~/downloads'
alias images='cd ~/images'
alias videos='cd ~/videos'
alias music='cd ~/music'

## App-specific
alias wget='wget -c'
alias scrot='scrot -cd 5'

## Sudo fixes
alias install='sudo apt-get install'
alias remove='sudo apt-get remove'
alias orphand='sudo deborphan | xargs sudo apt-get -y remove --purge'
alias cleanup='sudo apt-get autoclean && sudo apt-get autoremove && sudo apt-get clean && sudo apt-get remove && orphand'
alias updatedb='sudo updatedb'
alias htop='sudo htop'
alias swapclear='sudo swapoff -a && sleep 2s && sudo swapon -a'


cheers,
greywolf.
It is about the Dragons - it was always about the Dragons!