Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spyware, Viruses, etc. (https://www.askmehelpdesk.com/forumdisplay.php?f=477)
-   -   Unix (https://www.askmehelpdesk.com/showthread.php?t=1159)

  • Nov 3, 2003, 10:46 AM
    francisco899
    Unix
    What is the script for inputing a name of a file that I would like to analyse by the script?
  • Feb 26, 2004, 07:14 PM
    psi42
    Unix
    Quote:

    What is the script for inputing a name of a file that I would like to analyse by the script?

    I'm not exactly sure what you're asking here...

    In order to use an argument passed to a bash (which is all I know) shell script, you would do something like this

    Code:

    #!/bin/sh

    echo "passed arguments: $1 $2 $3 $4"

    exit


    ~psi42

  • All times are GMT -7. The time now is 05:14 AM.