Okay I tried the suggestions from previous post but for whatever reason I can not get it to work.
I have Kismac set up on my ibook and along with Kismac comes the option of closing the lid without putting the ibook to sleep. This has been a feature Apple did not implement due to I assume possible heat issues to the screen. But anyway, it works. In order for Kismac to do this, it has to replace the kernel with it's own customized kernel (It backups your old Kernel in case). The command to turn off sleep is rather long and difficult to remember so I wanted to use alias.
A little background, I changed BASH to be my default shell. So I went to .bashrc in my home directory and typed the following commands
>alias sleepoff sudo command to turnoff sleep
Well, I save this in the .bashrc and then close and restart the terminal.
I type in sleepoff and the command prompt tells me command not found.
What am I missing?
Thanks