Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
post your sickest bashrc. here's my custom one. PS1 exports are welcome too :cool:

code:
PS1="youAreHere/ "
export PS1
alias --='-'
alias ash='echo youAreHere/ '
alias bash='echo youAreHere/ '
alias cat='perl -l'
alias cd='cd .'
alias cp='echo cp'
alias csh='echo youAreHere/ '
alias df='echo /dev/dump 100% 100% 0% /tmp/jailfs/hoosegow/you'
alias echo='echo '
alias emacs='ed'
alias env='vmstat'
alias ex='ed'
alias exec='echo cannot fork'
alias exit='echo are you sure?'
alias id='echo user\(me\) group\(sadly the same\)'
alias joe='ed'
alias jsh='echo youAreHere/ '
alias kill='echo all dead'
alias ksh='echo youAreHere/ '
alias less='more ---x'
alias logout='echo are you sure?'
alias ls='echo .'
alias mkdir='echo making directory'
alias more='less </dev/null'
alias mv='echo stay'
alias netstat='cat /dev/random'
alias ping='ping /dev/null'
alias prompt='echo youAreHere/'
alias ps='echo you 501 501 0 Apr 1 ? 0:00 /usr/bin/vicks -vaporub'
alias pwd='echo you are here'
alias rm='echo can\'\''t find'
alias rmdir='removing directory'
alias set='iostat'
alias sh='echo youAreHere/ '
alias su='echo cannot su to'
alias sudo='exec'
alias touch='echo please don\'\''t touch'
alias unalias='echo no aliases found named'
alias vi='ed'
alias vim='ed'
alias w='echo x, y and z'
alias who='echo what?'
alias zsh='echo youAreHere/ '
# alias alias="sleep 5"  # Uncommenting that last line is optional ;)

Adbot
ADBOT LOVES YOU

Bloody
Mar 3, 2013

pity

pram
Jun 10, 2001
i use zsh op

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
ppost your zshrc

OldAlias
Nov 2, 2013

 

Only registered members can see post attachments!

pram
Jun 10, 2001

nope

OldAlias
Nov 2, 2013

Finally, a command
line shell for the 90s

neutral milf hotel
Oct 9, 2001

by Fluffdaddy
>computer find me a girlfriend>

> lol no

>:ins:

echinopsis
Apr 13, 2004

by Fluffdaddy
alias "ls" "del" :dnug:

Breakfast All Day
Oct 21, 2004

your old shell is a piece of poo poo, op

compuserved
Mar 20, 2006

Nap Ghost
alias ls='sl'

Silver Alicorn
Mar 30, 2008

𝓪 𝓻𝓮𝓭 𝓹𝓪𝓷𝓭𝓪 𝓲𝓼 𝓪 𝓬𝓾𝓻𝓲𝓸𝓾𝓼 𝓼𝓸𝓻𝓽 𝓸𝓯 𝓬𝓻𝓮𝓪𝓽𝓾𝓻𝓮
choo choo

Breakfast All Day
Oct 21, 2004

quote:



CCGGGGOOOOOOOOOGGGGCC
CGOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOGC
CGOOOOOOOOOO00000000000000000000OOOOOOOOOOOOC
G00000O00000000000000000000000000000000000000OOOOOOC
G00000OOOO08808888888888888888888888888888880000000000OG
CG000O080OOOO0008888888888888888888888888888888888888800000000OC
CGG08880OO00O008000000000000008800000800000000008888888888800880080G
CGGGGO8880GOOO8000000000000000080000000008000000000000000000088800088888O
CGOGGGGG088CCGOO880000000080800OOGGGGGGGGGGGGGOO0000000008000000000800888888G
GOOGGGCCG080CCCO008000000000GGGGGGGGOOOOOOOOGGGGGGGGG00000000000000000000008800C
CGOGOGGCCCGG08GCGGO00000000GGGGGO888888888888888888OGGGGGGO00000000000000000008080C
GOOGOOGGGCCCGG80GGGGO0000OGGGG88888888888000008888888880GGGGGO0000000000000000000000O
CGOOOOOOGGGCCCCGG00GGGGO0OGGGO88888800O000000000000000088888OGGGGO000000000000000000000OC
CGOOOOOOOOGGOGGGGGGO0GGGGGGGO8888800000000OOOOOOOO0000000O08888GGGGG000000000000000000000OC
CGOOOOOOOOOOOOOGGGGGGG0OGGOG8888800800OOOOOOOOOOOOOOOOO00000008880OGGGO0000000000000000000OOC
CGOOOOOOOOOOOOOOGGGGGGGGO0GGOO8880000OOOGOOOOOOGGGGOOOOOOO00000000888888888888800000000000000OC
GOOGOOOOOOOOOOOOOGGGGGGGCG8OGGO88000OO0OOOOOGGGGGGGGGGOOOOO00O000000088888888888888888800O00O0GC
GO0OOOOOOOOOOOOOOOGGGGGGCCC08OO88800OO00OOOOGGGGGGGGGGGGOOOOO00OO000OOGCGO0000000088888880888880G
CG0OO0OOOOOOOOOOOOOOGGGGGCCC08O080800OO00OOOOGGGGCCCCGGGGOOOOO00OOO0888OCCC CCCCGOO00000880008888GC
GO0OO0OOOOOOOOOOOOOOOGGGGCCG08O88000OOO00OOOOGGGGGGGGGGGGOOOOO000OO08880GCC CCCCCCCCCCCGO00088888OG
CG00OO00OOOOOOOOOOOOOOOGGGCCC00O88080OO000OOOOOGGGGGGGGGGOOOOO0000O008880GCCCCCCCCCCCCCCCCCCCO88880GC
CO0OO0000OOOOOOOOOOOOOOOGGCCC00O88888000000OOOOOOOOGGGOOOOOOO0000O0088880GCCCCCCCCCCCCCCCCCCGGGGO80OG
GO0OO0000OOOOOOOOOOOOOOOOGCCCO008880800000000OOOOOOOOOOOOOO00000000888880CCCCCCCCCCCCCCCCCCCGGGGGGGGG
GO0OO00000OOOOOOOOOOOOOOOOCCCC00O8880080000000000OOOOOO00000000000888880GCCCCCCCCCCCCCCCCCCGGGGGGGGGGC
GO0OO0000000OOOOOOOOOOOOOOOCCCG0808880088000000000000000000000088888880OC CCCCCCCCCCCCCCCCGGGGGGGGGGGC
GO0OO00000000OOOOOOOOOOOOOOGCCCG08O88880888000000000000000008888888888OC CCCCCCCCCCCCCCCCCGGGGGGGGGGGC
GO0OOO00000000OOOOOOOOOOOOOOGCCCCO00088880008880000000000088888888888GCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGG
CO00OO000000000OOOOOOOOOOOOOOOCCCCC00008888888888888888888888888888OCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGG
OO0OO00000000000OOOOOOOOOOOOOOGCCCCCO000088888888888888888888088GCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGC
GO00OO00000000000OOOOOOOOOOOOOOOGCCCCCCO0000O0000088880088080G CCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGG
OO00OO0000000000000OOOOOOOOOOOOOOOGCCCCCCGOOOO00888800OGCC C CCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGC
CO00OO000000000000000OOOOOOOOOOOOOOOOGGOOOO0088O C CCCCCC CCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGG
GO00OO0000000000000000OOOOOOOOOOOOOOOOOO0880C C CCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGC
O000OO000000000000000000OOOOOOO00OOO0088G CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGC
O000OO0000000000000000000OO000O0O088OC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGC
OO00OO00000000000000000000O000080G CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGGC
GOO0OOO0000000000000000O0O088OC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGC
COOO0OO0000000000008000000C CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGGG
COOOOOOO00000000888000O CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGGC
COOOOOOO000000088880 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGGG
GOOOOOO00000O08888GCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGGG
GOOOOOOO0000O00880CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGGGGGGGGGGG
COOOOOOOO000O0888OCCCCCCCCCCCCCCCCCCCCCCCCCCCCGGGGCGGGGGGGGCGGGGGGC
GOOOOOOOOOOO08880CCCCCCCCCCCCCCCCCCCCGGCCCCCCGGGCGCGGGGGGGGGGC
CGOOOOOOOOOO08080GCCCCCCCCCCCCCCCCCGCCCCCCCCCCGGGGGGGGGC
COOOOOOOOOO08000CCCCCCCCCCCCCCCCCCCCCCCCGGGGGGGGC
CGOOOOOOOO00888OCCCCCCCCCCCCCCCCCCGGGGGCC
CCGOOOOOO008880OGCCCCCCCCCCCC
CCCCCC


if you ascii the chome logo and cut out the whitespace it looks like a fishhead

i do not remember why i was doing this

chomefish

Sniep
Mar 28, 2004

All I needed was that fatty blunt...



King of Breakfast
if you dont have ll='ls -al' i regretfully inform you i cannot CJ your server

becuse its ll all day long here

echinopsis
Apr 13, 2004

by Fluffdaddy
what's that Command do

pram
Jun 10, 2001
ll is a default alias on rhel/centos and ubuntu afaik

echinopsis
Apr 13, 2004

by Fluffdaddy
I didn't know you actually knew computer poo poo??? gently caress

Sharktopus
Aug 9, 2006

hey OP im not sure u really "get" computre

Sharktopus
Aug 9, 2006

post ur sickest PS1 formats here!!!

Sharktopus
Aug 9, 2006

heres a little tut i found for you OP

http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt

Sharktopus
Aug 9, 2006



export PS1="\[\e[01;36m\]^\[\e[0m\]\[\e[00;36m\]^\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;33m\]\H\[\e[0m\]\[\e[00;34m\]?\[\e[0m\]\[\e[00;31m\]>\[\e[0m\]\[\e[00;32m\]>\[\e[0m\]\[\e[00;35m\]>\[\e[0m\]\[\e[00;32m\]\$?\[\e[0m\]\[\e[00;37m\]\A\[\e[0m\]\[\e[00;35m\]?\[\e[0m\]\[\e[00;37m\]\\$ \[\e[0m\]\[\e[00;32m\]\t\[\e[0m\]\[\e[00;33m\] \d\[\e[0m\]\[\e[00;37m\]. \[\e[0m\]\[\e[00;34m\]\[\e[0m\]\[\e[00;37m\],\[\e[0m\]"

cthulhoo
Jun 18, 2012

lmao if ur PS1 is not just % or #


this is hilariously terrible

:can: other retarded garbage for idiots: gkrellm and its ilk :can:

.lnk to the past
May 3, 2005

psoting while drunk

Sniep posted:

if you dont have ll='ls -al' i regretfully inform you i cannot CJ your server

becuse its ll all day long here

not gonna lie, i sigh when this isn't set

compuserved
Mar 20, 2006

Nap Ghost
alias ll='ls -l --si'
alias la='ls -la --si'
alias plang='python'

fattredd
Mar 4, 2015

Woops

bobbilljim posted:

post your sickest bashrc. here's my custom one. PS1 exports are welcome too :cool:

code:
alias cp='echo cp'
alias exit='echo are you sure?'
alias kill='echo all dead'
alias logout='echo are you sure?'
alias netstat='cat /dev/random'
# alias alias="sleep 5"  # Uncommenting that last line is optional ;)

Oh god why? What is the purpose of this? Do you hate life?

Sniep
Mar 28, 2004

All I needed was that fatty blunt...



King of Breakfast

pram posted:

ll is a default alias on rhel/centos and ubuntu afaik

not on solaris! guess what runs like 90% of the administrative zones / app servers here! lol

Plastic Snake
Mar 2, 2005
For Halloween or scaring people.

fattredd posted:

Oh god why? What is the purpose of this? Do you hate life?

I think it might be a joke, friend

Sharktopus
Aug 9, 2006

cthulhoo posted:

this is hilariously terrible


mission accomplished

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
i posted that in our hc and was well-met with:

code:
export PROMPT_COMMAND="a=`expr $RANDOM /1000`;if [ $a -eq 50 ] then logout else sleep $a fi"

Valeyard
Mar 30, 2012


Grimey Drawer
ls -lrta

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
ls -lartp

ls -laSh | head to find the big poo poo

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

Sniep posted:

if you dont have ll='ls -al' i regretfully inform you i cannot CJ your server

becuse its ll all day long here

this. i should change my ll alias actually

my real aliases, probably actually funnier than the OP

code:
alias cd='pushd'
alias diff='diff -Naur'
alias dir='dir --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -l'
alias ls='ls --color=auto'
alias pd='popd'
alias vc='sudo virsh -c qemu:///system'
alias vdir='vdir --color=auto'
alias vi='vim'

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
and i even use this
code:
PS1='\[\e[01;$(((((($?>0))*31))+(((($?==0))*36))))m\]\u\[\e[00m\]:\[\033[0;33m\]\w\[\e[00m\]\$'

Valeyard
Mar 30, 2012


Grimey Drawer

bobbilljim posted:

and i even use this
code:
PS1='\[\e[01;$(((((($?>0))*31))+(((($?==0))*36))))m\]\u\[\e[00m\]:\[\033[0;33m\]\w\[\e[00m\]\$'

what does this mean

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
here

code:
export EDITOR="/usr/bin/vim"
source .sendgridrc
alias ll='ls -lartp'
alias ding="echo -en \"\\007\""
alias shove="git add . && git commit -am 'bug fixing' && git push origin $1"

source antigen.zsh
antigen use oh-my-zsh
antigen theme agnoster
ding is incredibly useful when batching stuff

Sharktopus
Aug 9, 2006

ship the ding forkbomb

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

Jonny 290 posted:

here

code:
alias shove="git add . && git commit -am 'bug fixing' && git push origin $1"

brutal

ding is cool, i sometimes use somethign like

code:
james$ do_lots_of_shit && notify-send gently caress
yes i know this womnt notify me if do_lots_of_shit fails

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
alias rm='sudo rm -rfd'

Sniep
Mar 28, 2004

All I needed was that fatty blunt...



King of Breakfast
i have other aliases on my home jumpbox that of course do things to remote servers and query remote files from {lots of servers} and compile them and do poo poo to them to retrun results

like we have 14,000 production servers out there as if i can log onto every one

but that's just my situation

the moral of the story is learn bash folks,

learn bash, sed, awk, grep, regex, awk again to make sure you got it, sed again too, linux piping and command interpretation times ten, throw in some good sorts and uniqs,

i mean you can't go wrong learning how amazing the shell is for just doing poo poo

Adbot
ADBOT LOVES YOU

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

MALE SHOEGAZE posted:

alias rm='sudo rm -rfd'

sort your poo poo out man, drat

  • Locked thread