Page 1 of 6 123 ... LastLast
Results 1 to 10 of 57

Thread: Have fun with aliases

  1. #1
    Join Date
    Sep 2008
    Location
    United Kingdom, Kent
    Beans
    129
    Distro
    Ubuntu 10.04 Lucid Lynx

    Have fun with aliases

    I've decided to make a thread where you can post funny aliases for commands.
    These are some examples from the YKYAGW thread.
    It started with a lolspeak reference...

    Quote Originally Posted by SlickRick View Post
    YKYAGW yur .bashrc file now looks like dis
    Code:
    alias do_want='sudo apt-get install'
    alias do_not_want='sudo apt-get remove'
    alias i_can_haz='sudo apt-get install'
    alias im_in_yur='cd'
    alias kthxbai='exit'
    alias invisbl='fg' #send job to foreground
    alias visabl='echo'
    alias caturday='date'
    alias not_amuzed='killall'
    alias oh_noez='reboot'
    alias nomnomnom='rm'
    alias rly='sudo'
    If anyone haz suggestions on how I could improve it, plz feel free to mention them but those are the commands I mostly use. Apart from 'fg' but I couldn't have visabl and not have invisabl.
    Quote Originally Posted by GepettoBR View Post
    I tip my hat to you, and I have some suggestions:

    Code:
    alias longcat='less'
    alias all_ur_base='cd /'
    alias d00d='man'
    alias lolcat='cat'
    alias OC='sudo apt-get update'
    alias srs_bsns='sudo su'
    EDIT: Does alias accept wildcards? If so,
    alias wat $1='$1 --help'
    is also funneh.
    you add these to your .bashrc file in your home folder. To edit it, simply type
    Code:
    sudo gedit ~/.bashrc
    Customize bash commands/Unknown Process/I love LoL/'Keep Aligned' Stuck
    Red/cyan* means top priority
    *only if you have compiz negative turned on

  2. #2

    Re: Have fun with aliases

    Yay, LOL CODE (sort of)

  3. #3
    Join Date
    Dec 2007
    Location
    *eating something*
    Beans
    702
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Have fun with aliases

    Add the line
    Code:
    alias icanhaz='sudo apt-get install'
    to your ~/.bashrc

    Add the following
    Code:
    #!/bin/bash
    echo "<inseart list of packages to install here>";
    to the file '~/bin/cheezburger', replacing the angle-bracketed text with the packages you want to install, seperated by a space. Then chmod it to 0744.

    then, using the above, run
    Code:
    icanhaz `cheezburger`
    Last edited by jenkinbr; March 19th, 2009 at 11:57 PM. Reason: modified from original post in YKYAGW thread.
    |>[HowTo] Bump The BUMP Thread<||>Stats<||>19k<||>23k<||>26k<||>34k<||>37k<||>38k<||>39k<||>40k<|

    Quote Originally Posted by lukjad007
    Backups are usually a good thing unless it's a sewer.

  4. #4
    Join Date
    Dec 2007
    Location
    *eating something*
    Beans
    702
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Have fun with aliases

    Code:
    alias give_me_teh_lolz='fortune'
    You *MAY* need to install some of the extra fortune cookie packages from synaptic for this to really give you 'teh lolz'.
    |>[HowTo] Bump The BUMP Thread<||>Stats<||>19k<||>23k<||>26k<||>34k<||>37k<||>38k<||>39k<||>40k<|

    Quote Originally Posted by lukjad007
    Backups are usually a good thing unless it's a sewer.

  5. #5
    Join Date
    Nov 2005
    Location
    The Internets
    Beans
    468
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Have fun with aliases

    too much.

  6. #6
    Join Date
    Nov 2005
    Location
    The Internets
    Beans
    468
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Have fun with aliases

    alias "shoopdawhoop"="echo BLRAAA"

  7. #7
    Join Date
    Jun 2008
    Location
    SATA1 block 3054 sector 4
    Beans
    466
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Have fun with aliases

    Code:
    alias soud="sudo"
    
    alias die="sudo halt"
    
    alias kill="xkill"
    
    alias iwant="sudo apt-get install"
    
    alias entertainme="xmmc"
    
    alias dance="echo no"
    
    alias whosyourmother="echo your mom"

  8. #8
    Join Date
    Dec 2007
    Location
    *eating something*
    Beans
    702
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Have fun with aliases

    alias kill="xkill"
    May not work because kill is an actual program name.

    Code:
    alias bump='firefox -url http://ubuntuforums.org/showthread.php?t=520091'
    |>[HowTo] Bump The BUMP Thread<||>Stats<||>19k<||>23k<||>26k<||>34k<||>37k<||>38k<||>39k<||>40k<|

    Quote Originally Posted by lukjad007
    Backups are usually a good thing unless it's a sewer.

  9. #9
    Join Date
    Jun 2008
    Location
    SATA1 block 3054 sector 4
    Beans
    466
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Have fun with aliases

    Quote Originally Posted by jenkinbr View Post
    May not work because kill is an actual program name.

    Code:
    alias bump='firefox -url http://ubuntuforums.org/showthread.php?t=520091'
    that alias works, I've used it.

    Code:
    winrid@winrid-desktop:~$ find_devon
    Are_you_out_of_your_mind?_You_just_had_rm_delete_him!
    winrid@winrid-desktop:~$

  10. #10
    Join Date
    Sep 2008
    Location
    United Kingdom, Kent
    Beans
    129
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Have fun with aliases

    Heir's sum moar I'v thunk ov
    Code:
    alias hoomin='man'
    alias visabl='ls'
    alias invisabl='clear'
    alias teh_interwebz='ipconfig'
    alias internet_tubes='ipconfig'
    alias ur_doin_it_rong='false'
    alias ur_doin_it_rite='true'
    alias ceilin_cat='su'
    alias moar='more'
    alias monorailcat='mv'
    alias pewpewpew='xkill'

    I couldn't resist
    Customize bash commands/Unknown Process/I love LoL/'Keep Aligned' Stuck
    Red/cyan* means top priority
    *only if you have compiz negative turned on

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •