a question on a bash script
Related Article: Bash script to run on wake up?
is a Linux and Unix discussion thread by ninjaface567 that has 1 reply, was last updated 1 year ago and has been tagged with the keywords: bash, script, sleep, software.
winecoding
Junior Poster in Training
56 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Basically in the first part of the code the condition in the if statement says "if the file reuters21578 does not exist in the mahout-work directory"
Note: The ! is the logical NOT operator.
If the file does not exist in the specified directory the code under the if statement (the 2nd part you wanted understand) uses the program curl to download the file from a website and saves it in the mahout-work directory.
JasonHippy
Practically a Posting Shark
862 posts since Jan 2009
Reputation Points: 615
Solved Threads: 146
Skill Endorsements: 5
Question Answered as of 1 Year Ago by
JasonHippy
and
alaa sam