gregs

Archive for September, 2007

More *nix command line fun

by gregs on Sep.11, 2007, under *nix

I don't know how often I have tried to start up a process and forgotten that it runs as root, forcing me to type the command in again prefixing it with sudo. That was until today, if you suffer from the same level of forgetfulness then sudo!! is for you.

CODE:
  1. my-computer:~ user$ /usr/local/apache2/bin/apachectl start
  2. (13)Permission denied: make_sock: could not bind to address [::]:80
  3. no listening sockets available, shutting down
  4. Unable to open logs
  5. my-computer:~ user$ sudo !!
  6. sudo /usr/local/apache2/bin/apachectl start
  7. my-computer:~ user$

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!