Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Save mytest.txt on vi or vim. Copy mytest.txt located in the workspace directory to your home directory (i.e., home/username), and provide a screenshot. (Do

image text in transcribed

2. Save mytest.txt on vi or vim. Copy mytest.txt located in the workspace directory to your home directory (i.e., home/username), and provide a screenshot. (Do not use both the cd command and your home directory path). 1 point 3. Assign an executable permission to mytest.txt and provide a screenshot. The screenshot must show highlighted mytest.txt. - 1 point 4. Your mytest.txt is in your home directory. Go to your workspace directory, create a symbolic link connected to mytest.txt and provide a screenshot. The screenshot must show your symbolic link.- 1 point 5. Write a shell program to print out 6 consecutive numbers using a for loop and provide a screenshot. 1 point 6. Write a shell program to run an infinite loop. Run this program and find its process ID. To find the ID, you must use the ps and grep commands. This program is running forever in your system. Kill this program and provide a screenshot. The screenshot must show all the procedure. 2 points 7. Write a shell program to read an input file and print this line by line to "test.txt". The "test.txt" file must be given from a command line. The first line (comment) must be excluded in test.txt. Thus, test.txt contains only data. To download test.txt, use "wget http://csit.udc.edu/ jkim/data/test.txt" on your terminal. Thake a screenshot showing your shell program. 2 point 8. Explain this shell program [[z$d]]&& fecho YES";exit1;}1 point

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

3. Comment on how diversity and equality should be managed.

Answered: 1 week ago

Question

describe the legislation that addresses workplace equality

Answered: 1 week ago