Novell Home

BET - The Bash Enhancement Tool

Novell Cool Solutions: Cool Tool

Rate This Page

Reader Rating  stars  from 15 ratings

Digg This - Slashdot This

In Brief

Enhance your experience with the bash shell.

Vitals

Product Categories:
  • SUSE Linux
  • Functional Categories:
  • BASH
  • Command Line
  • Linux
  • UNIX
  • Updated:17 Oct 2006
    File Size:10KB
    License:GPL
    Download:/coolsolutions/tools/downloads/bet-0.2.tar
    Publisher:Makarand Hazarika

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    BET is a tool that is used to enhance your experience with the bash shell. This is for the advanced users who spend more time in the command line than mouse clicking. It is a set of aliases and functions which are supposed to simplify most of the complicated and frequently used commands. These aliases and functions get included in the bashrc file of the user and then get activated during the login of the user.

    The following are enhancements provided by bash :-

    • kon, ns -- you can start konqueror and nautilus just by typing kon and nsrespectively.
    • stx, po -- short for startx and poweroff.
    • ppd -- print previous dir.
    • pppd -- print previous to previous dir.
    • cdp -- change to previous dir.
    • cdpp -- change to previous to previous dir.
    • md -- make directory

    You may need to change it according to your system :-

    • ejectc -- eject cdrom drive
    • ejectd -- eject dvd/combo drive
    • mnt -- mount cdrom drive
    • mntd -- mount dvd/combo drive
    • umnt -- unmount cdrom drive
    • umntd -- unmount dvd/combo drive

    If the user chooses, BET makes the shell interactive for copying, moving and removing files. For mplayer users, BET allows the mplayer to start in fullscreen.

    • mx -- makes executable (for those who writes too many shell scripts and needs to make them executable.
    • gco -- same as gcc, but will make the output filename same as the input filename minus the .c extension.

    If you want more features added, you can make suggestions to the author.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    Reader Comments

    • It is really nice. Thanks.
    • really usefull for those geeks who loves to work in the terminal. i have made some modifications and it's perfect for my personal use.
    • i work with different linuxes and keep installing different ones. everytime i had to modify my bashrc. now, with this tool i don't have to. its a small n' simple but useful utility
    • How is this different from just adding aliases in your .bashrc? The concept seems fairly redundant. alias stx=startx alias po=poweroff alias ppd='echo $OLDPWD' alias cdp='cd -' alias md=mkdir alias mx='chmod 755' ...
    • Hey hazarika I found it really good. Thanks
    • Hey that was pretty smart thinking
    • yeah the utility is really neat and it shows the real power of aliases
    • i am learning bash shell scripting. i found it really good.

    Novell® Making IT Work As One

    © 2009 Novell, Inc. All Rights Reserved.