Purchase Solution

Bash script

Not what you're looking for?

Ask Custom Question

I have many files in current directory. I want to determine which files contain the text "atg" on the second line, and then copy those files to the directory atg_start.fa .

Please guide me with a Bash script code fragment that will help me achieve the goal.

Purchase this Solution

Solution Summary

Solution does not give a ready-to-use shell script, but it gives a code fragment to achieve the goal. Undertone of the solution is to guide the student.

Solution Preview

To check all the files in current directory for required property and then copy the appropriate files to the directory atg_start.fa; following is what you should ...

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.