Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Linux Command: 1)Create a file called myscript and make it executable to everyone 2)Now you have a runnable script file, myscript. Execute it and print

Linux Command:

1)Create a file called "myscript" and make it executable to everyone

2)Now you have a runnable script file, "myscript." Execute it and print all output into afile called "result.txt"

3)Assume you are not in the root directory. Move the "result.txt" to the current parent directory.

4)Count the number of files (including hidden files) in your current working directory [NOTE: hidden files are files that begin with a dot (.)]

5)Download the webpage "www.cs.stonybrook.edu" and place it in your home directory

6)From the home directory, find and display all files that is named "myfile"

7)Your current working directory contains a file called "testfile." On the console, show all lines from the file if the line contains "test" (case insensitive).

8)The process with an id number 13572 is in a zombie state (e.g. taking up resources but is not doing useful working). Stop the process from running.

9)Create a directory called "temp" in the root directory.

10)After "temp" is created, you added 2 more files: fileA and fileB. Now, delete the "temp" directory along with the files. Assume current working directory is root.

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

Students also viewed these Databases questions

Question

Find vo in the op amp circuit of Fig. 5.92? 4012

Answered: 1 week ago

Question

List some problems associated with risk tolerance questionnaires.

Answered: 1 week ago