Easy way to find paths?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BSleazy
    Confirmed User
    • Aug 2002
    • 6721

    #1

    Easy way to find paths?

    on linux servers for things like the php path needed to setup cron jobs and scripts.
    icq 156131086
  • Operator
    So Fucking Banned
    • May 2009
    • 2419

    #2
    Cron tab has made me resort to other schedulers like vi and text editors.

    Comment

    • raymor
      Confirmed User
      • Oct 2002
      • 3745

      #3
      whereami.cgi:

      #!/bin/sh

      echo -e "Content-type: text/plain\n\n"

      pwd
      echo $DOCUMENT_ROOT
      which sendmail
      which convert
      locate mysqldump
      For historical display only. This information is not current:
      support@bettercgi.com ICQ 7208627
      Strongbox - The next generation in site security
      Throttlebox - The next generation in bandwidth control
      Clonebox - Backup and disaster recovery on steroids

      Comment

      Working...