Linux Class Week Oct 29 - Nov 2 2018 EXERCISES

Exercise 1

Explain step-by-step the commands as well as their output:

ls -l | grep -v '^d' | wc -l

Exercise 2

Assume the file SequenceFile. The file contain DNA sequences and their names. For every entry the format is:


Answer the following questions:

Exercise 3

Create a folder called bin2 in your home directory. Add the folder bin2 in your PATH. Create a script that will find out how many files or directories in a folder start with an 'A' (either small or capital) and put it in bin2. Execute the script in some folders and demonstrate that it works properly.

Exercise 4

Assume the file ExpressionData.

Exercise 5

Exercise 6