It's UWAweek 44 (2nd semester, 1st exam week)

helpOSTS

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 4 articles in this topic
Showing 4 of 445 articles.
Currently 2 other people reading this forum.


 UWA week 16 (1st semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
7:37am Fri 19th Apr, ANONYMOUS

Good morning professor, Can i use "find" command to search given file via "tobbaco_nation" command in whole system. Thanks.


SVG not supported

Login to reply

👍x1
helpful
8:44am Fri 19th Apr, Michael W.

ANONYMOUS wrote:
> Good morning professor, > Can i use "find" command to search given file via "tobbaco_nation" command in whole system. > > Thanks.
Hi, I have no idea how or why one might use the find command in a situation where the input data consists of a single file (not directory). More to the point, you have to be very careful with find as the command can traverse a lot of file-space and, if mishandled, do a lot of damage along the way. In short, not a great idea. Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
8:41pm Fri 19th Apr, ANONYMOUS

"Michael Wise" <mi*h*e*.*i*e@u*a*e*u*a*> wrote:
> ANONYMOUS wrote: > > > Good morning professor, > > Can i use "find" command to search given file via "tobbaco_nation" command in whole system. > > > > Thanks. > > Hi, > I have no idea how or why one might use the find command in a situation where the input data consists of a single file (not directory). More to the point, you have to be very careful with find as the command can traverse a lot of file-space and, if mishandled, do a lot of damage along the way. In short, not a great idea. > > Cheers > MichaelW
Hello professor, I've doubt about searching file into the system. as you mention in the assignment that, user will pass "tobacco_nation <csv data file> < year | country code > < Male | Female >" so, can i assume that whenever user pass the file name, user always provide the full path where file is located. for example : 1. tobacco_nation "WHO_tobacco_control_tonly.csv" 2000 Male or 2. tobacco_nation "~/stud/perm/WHO_tobacco_control_tonly.csv" 2000 Male Currently i'm assuming 1st scenario. that's why i used find command to search file in whole system.


SVG not supported

Login to reply

👍?
helpful
5:41pm Sat 20th Apr, ANONYMOUS

Hello professor, I've doubt about searching file into the system. as you mention in the assignment that, user will pass "tobacco_nation <csv data file> < year | country code > < Male | Female >" so, can i assume that whenever user pass the file name, user always provide the full path where file is located. for example : 1. tobacco_nation "WHO_tobacco_control_tonly.csv" 2000 Male or 2. tobacco_nation "~/stud/perm/WHO_tobacco_control_tonly.csv" 2000 Male Currently i'm assuming 1st scenario. that's why i used find command to search file in whole system.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy