a.Create a directory called dir1. b.Create 10 files in dir1 in whatever way you would like, and fill them with at least a few lines of text. Record how you did this here. c.Then, write a bsub command line that will submit a job for each file in dir1 to the express squeue that simply “cats” the file.   The output file (stdout) for each job should be the .out   That is, the first

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 6DE
icon
Related questions
Question

UNIX and LINUX please be thorough with each a,b,c

 

a.Create a directory called dir1.

b.Create 10 files in dir1 in whatever way you would like, and fill them with at least a few lines of text. Record how you did this here.
c.Then, write a bsub command line that will submit a job for each file in dir1 to the express

squeue that simply “cats” the file.

 

The output file (stdout) for each job should be the <filename>.out

 

That is, the first job should execute the command:

 

cat file1

 

and the output should be in file: file1.out

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L