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
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
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 6DE
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
Knowledge Booster
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.Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L