Find Jobs
Hire Freelancers

Bash scripts -- 2

$10-100 USD

Cancelled
Posted about 9 years ago

$10-100 USD

Paid on delivery
Write Bash scripts to do each of the following: 1) Write a script called ‘my_which’ that does the same thing as the Unix which command, but do it using a for loop over an if. Obviously, DO NOT call bash’s built-in `which` . 2) Write a script called dircheck that takes one or more directory names as argument and displays the following information about each directory argument: a. display a count of the number of subdirectories anywhere under this directory. b. display a count of the number of files in the directory. c. list all of the files in the directory that are zero length (you may use the ‘find’ command for this) d. use ‘du’ to display the amount of storage space used by this directory e. To test your script, you should create some subdirectories, some files that are zero length, using touch, and some files that are not zero length using vi, output redirection, or cp. f. Example of use $ dircheck ~/hw ~/bin 3) Write a bash script called `my_find` that does a subset of the find command. Obviously, DO NOT use `find` in your solution. You must handle (at least) the following options as described in the manual for find (and these will be tested for grading): -name (you should handle patterns for names), -type (f and d), -print, and -exec (you must handle {} for exec (hint: use sed), but you may assume the exec, if present, is always the last argument and, therefore, need not be terminated by a semicolon. Note also the predicates can come in any order and are implicitly short circuit ANDed together. You need not handle -o which is OR. Here is a sample command: $ my_find $HOME -name ‘*.o’ -type f -print -exec /bin/mv {} ~/.TRASH \;
Project ID: 7210152

About the project

16 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
16 freelancers are bidding on average $111 USD for this job
User Avatar
Hello. More 20 years programming experience. I need more details to set real time and price. For example: do you mean use again bash for your scripts? or C or perl or something another is meaning? Regards. ---------------------------------------------------------------------------------------------------------------------------------------------------
$166 USD in 3 days
4.7 (14 reviews)
4.7
4.7
User Avatar
This is a little time consuming. But I've got a Computer Engineering degree from CMU and 20 years experience using bash, so I can do this. I just need a little more money to make it worthwhile.
$177 USD in 4 days
5.0 (4 reviews)
2.8
2.8
User Avatar
Hi dude! As usual, I have already done the job. This time the job takes out of me a little bit more effort that's the reason for the price... on the other hand you get a tested job at the very moment you awarded me with the project. As always send me a message to talk about the project. Best regards! EFC
$120 USD in 1 day
5.0 (3 reviews)
2.8
2.8
User Avatar
Hi, I ready to do it. Great knowledge on bash scripting. I'm certified RHCE and LPIC-2. Best Regards
$45 USD in 1 day
5.0 (12 reviews)
2.7
2.7
User Avatar
Hello, I am expert Ubuntu 14.04.1 LTS - Trusty Tahr user & I have 8+ years of experience as Network Engineer and Linux System Administrator. I am free & ready to deliver this for you. I will try to deliver the job within 72 hours. Deliver: 1) Write a script called ‘my_which’ that does the same thing as the Unix which command, but do it using a for loop over an if. Obviously, DO NOT call bash’s built-in `which` . 2) Write a script called dircheck that takes one or more directory names as argument and displays the following information about each directory argument: a. display a count of the number of subdirectories anywhere under this directory. b. display a count of the number of files in the directory. c. list all of the files in the directory that are zero length (you may use the ‘find’ command for this) d. use ‘du’ to display the amount of storage space used by this directory e. To test your script, you should create some subdirectories, some files that are zero length, using touch, and some files that are not zero length using vi, output redirection, or cp. f. Example of use $ dircheck ~/hw ~/bin 3) Write a bash script called `my_find` that does a subset of the find command. Obviously, DO NOT use `find` in your solution. You must handle (at least) the following options as described in the manual for find (and these will be tested for grading): -name (you should handle patterns for names), -type (f and d), -print, and -exec (you must handle {} for exec (hint: use sed
$333 USD in 1 day
5.0 (6 reviews)
1.7
1.7
User Avatar
A proposal has not yet been provided
$61 USD in 1 day
5.0 (1 review)
0.8
0.8
User Avatar
I have experience with bash, and have knowledge to complete this project. I realize my bid is not within Your budget, but given the time and needed knowledge, as well as the complexity, I feel my bid is reasonable. Below are suggested milestones
$160 USD in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am expert programmer with lots of experience in bash and other scripting. I can do this project for you, but the budget is little low in my opinion. let me know if you are interested.
$140 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
一个有效的提议尚未被提供
$111 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Linux administrator. Good bash skills. I was working for few ISP and I had a lot of experience with tcp/ip and ethernet technology. Please coctact with me.
$111 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$61 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$55 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I work on linux for two years, my routine work is write shell scripts, I read your description, the first two tasks is very easy. The third task maybe would take sometime, but one day is enough.
$55 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 5 years of Unix Shell scripting , which should backup for this project. Unix Aix is what i have worked on and mostly on powerful korn shell.
$45 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have the below skills hence i feel i am qualified • 2+ years of experience in Software Testing, Quality Assurance with extensive experience in different Testing Methodologies. • Good Knowledge on Storage Concepts, OS concepts • Experience in manual and automation testing on Windows and Linux environments. Testing • Experience in File system, UNIX shell scripting. • Experience on SQL, Linux and Windows platforms. • Good Knowledge in Automation Testing using QTP, Quality Center Tool (QC), shell scripting. • Good knowledge on reporting tools using HP Quality Center (QC). • Good understanding of Software development life cycle and QA Process. Experience in writing Test Plans, Test Scripts, Functional and System testing, and defect tracking tools like Bugzilla. • Knowledge on HTML. • Experience in working with different teams to understand product requirements for functional and system level test coverage. • Experience in planning and executing test cycle for a given product • Interacted directly with internal users/business area/development team on daily basis • Responsible for doing quality check on teams work, Quick learner with positive attitude and a team player having ability to work under pressure. • Involved in writing test cases, executing the test cases, defect reporting and defect tracking. • Involved in different types of Black Box testing- Unit testing, Functional, Regression, System, Integration Testing
$61 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
los angeles, United States
4.8
11
Payment method verified
Member since Nov 2, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.