Archive for the ‘Shell Script’ Category

sudo: sorry, you must have a tty to run sudo

Tuesday, October 21st, 2008
  • vi /etc/sudoers
  • comment out: #Default requiretty

Wicked Cool Shell Scripts: The Library

Tuesday, May 27th, 2008

http://www.intuitive.com/wicked/wicked-cool-shell-script-library.shtml

There are 101 scripts discussed in this book, but in fact there are closer to 150 scripts available, in total. Here’s how you can get them if you’d like. You are welcome to do this if you don’t have the book, but it’ll make a lot more sense if you do have “Wicked Cool Shell Scripts”, of course. Note that you can also download the entire set of scripts as AllFiles.tgz. Just make sure you unpack the scripts into their own directory!