Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40

Thread: What are your favourite alias commands?

  1. #31
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,467
    Distro
    Ubuntu Mate

    Question Re: What are your favourite alias commands?

    Quote Originally Posted by RiceMonster View Post
    Wouldn't it be alias person='man'?
    Hi.
    What is
    Code:
    yes RiceMonster
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  2. #32
    Join Date
    Nov 2008
    Location
    Here, There, Everywhere
    Beans
    1,163
    Distro
    Xubuntu

    Re: What are your favourite alias commands?

    Quote Originally Posted by Rytron View Post
    Hi.
    What is
    Code:
    yes RiceMonster
    Quote Originally Posted by man yes
    yes - output a string repeatedly until killed
    Code:
    $ yes RiceMonster | head
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster
    RiceMonster

  3. #33
    Join Date
    Apr 2008
    Location
    RiceMonsterland, Canada
    Beans
    Hidden!

    Re: What are your favourite alias commands?

    Quote Originally Posted by Rytron View Post
    Hi.
    What is
    Code:
    yes RiceMonster
    Type it into a terminal. it just repeatadly prints RiceMonster, as danielrmt said.

    Hit Ctrl-C to stop it.
    Code:
    while true; do echo -n "RiceMonster "; done
    Best thread ever

  4. #34
    Join Date
    Oct 2008
    Beans
    561

    Re: What are your favourite alias commands?

    Quote Originally Posted by swoll1980 View Post
    alias rootilus='gksu nautilus /'
    alias grootit='gksu gedit'
    ha ha like it
    Check out my little app. Tnote

  5. #35
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,467
    Distro
    Ubuntu Mate

    Smile Re: What are your favourite alias commands?

    Quote Originally Posted by RiceMonster View Post
    Type it into a terminal. it just repeatadly prints RiceMonster, as danielrmt said.

    Hit Ctrl-C to stop it.
    Cool. A little Easter Egg/Linux quirk.

    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  6. #36
    Join Date
    Nov 2008
    Location
    Here, There, Everywhere
    Beans
    1,163
    Distro
    Xubuntu

    Re: What are your favourite alias commands?

    Quote Originally Posted by Rytron View Post
    Cool. A little Easter Egg/Linux quirk.

    It's not a easter egg, it can be useful. You can pipe it to any command that needs a [y/n] confirmation, so you don't have to confirm it.

  7. #37
    Join Date
    Feb 2008
    Location
    Hamilton, Canada
    Beans
    Hidden!

    Re: What are your favourite alias commands?

    I aliased "sysupd" to "sudo apt-get update ; sudo apt-get upgrade"

    I like the command line for the update process...

  8. #38
    Join Date
    Jul 2008
    Location
    Birmingham, England
    Beans
    2,400

    Re: What are your favourite alias commands?

    Since I can never remember the command for "refreshing" the plasmoid list:

    Code:
    alias plasmoid='kbuildsycoca4'

  9. #39
    Join Date
    Jun 2006
    Location
    Columbus, Ohio
    Beans
    123
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: What are your favourite alias commands?

    since I'm always switching between JDK's...

    Code:
    alias jv='java -version'

  10. #40
    Join Date
    Jul 2007
    Location
    The Internet
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: What are your favourite alias commands?

    Code:
    alias ls='ls --color=none'
    alias l='echo ; echo $PWD; echo; ls -F; echo '
    alias clean='rm *~'
    alias stat='acpi -V'
    alias mktar='tar -cvf'
    alias mkbz2='tar -cvjf'
    alias mkgz='tar -cvzf'
    alias untar='tar -xvf'
    alias unbz2='tar -xvjf'
    alias ungz='tar -xvzf'
    alias cdc='cd $CF3_HOME'
    alias indrv='sudo cryptsetup luksOpen /dev/sdc1 mydata ; sudo mount -t ext3 /dev/mapper/mydata /media/usbdrv/'
    alias outdrv='sudo umount /media/usbdrv/ ; sudo cryptsetup luksClose mydata'

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

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
  •