Search results

  1. K

    why doesn't curl work in tcsh?

    When I try to use curl to get a series of files from a webserver with a command like this.. curl -O http://someserver.com/file[01-10].txt I get an error message "no match" I know that it's got to do with the tcsh shell trying to intrepret the [], because the command works fine if I use...
  2. K

    * mail aliases with sendmail/qpopper

    Standard mail aliases are handled by NetInfo. You could also use the "niload" command if you have a text file of accounts and aliases. 1. Open Netinfo Manager up. 2. Authenticate (click the little lock icon). 3. Go to / aliases 4. With aliases highlighted, choose "New Subdirectory" from...
  3. K

    How to customize Terminal greeting without modifying /etc/motd ?

    you could create (or edit if you already have) login.mine in your ~/library/init/tcsh/ directory. Note that this file is for commands you want executed when you open a new session, so if you just want some text displayed, you need to use the ECHO command.
  4. K

    aliases.db won't update??

    That worked. It looks like the aliases.db file is ignored (though it wasn't before). thanks!
  5. K

    Changing default WebServer folder?

    Yup, Edit /etc/httpd/httpd.conf and change the line: DocumentRoot "/Library/WebServer/Documents" to whatever directory or partition you like. Once your done, you need to restart Apache with: sudo apachectl restart
  6. K

    aliases.db won't update??

    I've been trying to add some aliases to sendmail without any success. I update the /etc/mail/aliases file, then use the newaliases command to update aliases.db. newaliases doesn't report any error, but the modification date of the aliases.db file doesn't change, and the aliases aren't...
  7. K

    Code Red III

    http://www.cert.org/body/advisories/CA200126_FA200126.html (Looks like it'll be a bad week for Windoze)
  8. K

    Code Red III

    Go to: http://www.cert.org/current/current_activity.html#port80 for details...
  9. K

    crontab's output question

    The output of root's cron jobs (/etc/daily, /etc/weekly, and /etc/monthly) all produce two e-mails to the root account. One is the output I expect, but the other is: zsh: command not found: root I haven't modified the default crontab supplied with OS X, other than to change the times when...
  10. K

    Terminal.app trick?

    Yeah, that will get the windows in the position you want, but it won't open 'top' automatically. There's no method (that I can find) that will start a process when a terminal window is opened. :(
  11. K

    use of "ff" and "files" in alias

    The default alias file in MacOSX contains the following: ff find . -name !:1 -print files find !:1 -type f -print Could one of you unix guys explain what each of these commands do? I've looked at 'find' in the man pages, but I'm still mystified by the '!:1'. Thanks!
  12. K

    Terminal.app trick?

    Set up each window in Terminal as desired. Choose "Save As..." in the File menu and give each window a unique name. Now go to the Login preferences pane and add each of the saved files to the startup list. Next time you login... you get what you want! Keg
Back
Top