Zachary Smith

Greenhorn
+ Follow
since Feb 17, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Zachary Smith

Hey thanks so much,

So how exactly do I apply that to listing a file and a directory??

Thanks for the link
13 years ago
Hey,

Yes it is.

So far I have just created a sub directory and began to make the .sh. I really just need help getting started. I don't understand what the "two arguments" are and how to do that... I'm a total rookie..

Thanks !

13 years ago
I've been given the task of creating a shell script and I am in over my head...

I need to:
Create a fully commented shell script which expects two arguments. a list of file names and 2) a directory. the script should also be able to accomplish tasks
like, check to see if there are tow parameters, check to see if the second parameter is an existing directory, check to see if the directory is writeable, use a loop, and check to see if the file exists in the home directory..

I doubt anyone can fully help me but I thought I would try

Thanks!
13 years ago