Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Fire the instance up which may or may not be in a stopped state to . If you are unsure of how to do anything

Fire the instance up which may or may not be in a stopped state to.
If you are unsure of how to do anything like creating a directory in linux google it. There are plenty of examples on how to do. You can also use the man command to see the various switches/flags you can use with the command.
Capture all the output asked below and submit.
1 Create a directory
be=051024
call it the the date you created it, Example: what_ever_date could
Use the ?s-? command to show you created the directory
2 Create a file
In the directory "what_ever_date" create a file "testfile"
Use the tree -qp what_ever_date command to show you created the file
3. Create a nested directory called what_ever_date/testdir_1/testdir_2
Use the tree -qp to show you created the directories
4. Create two files called file1 and file 2 in testdir_1
Use the tree -qp to show you created the directories
5. Create two files also called file file1 and file2 in testdir_2
Use the tree -qp to show you created the directories
6. Change the permission of the files in the directories below and show their permissions
what_ever_date /testdir_1/file1 where owner has read,write and execute permissions, group has read,write, other has read only.
what_ever_date/testdir_1/file2 where owner has read,write and execute permissions, group has read only, other has read only.
7. Create a directory called newdir/newdir_1/newdir_2
copy the file what_ever_date/testdir_1/file1 to this directory Change the permisions of the file to owner, group and everyone/all read only
8. Install the nano package(if you already haven't done so) using this command sudo yum install nano (Follow the instructions carefully)
Use the editor nano and edit the file newdir/newdir_1/newdir_2/file1
Put the following text in it:-
# !/bin/bash
echo "Hello World"
echo "I just wrote my first script using a CLI editor"
9. Tour of you linux system by looking at your /proc directory. Use cat command to show whats in all of the below.
(a) cpuinfo
(b) meminfo
(c) loadaverage
10. Process and looking at them. Research this on the web if needed.
Capture the output of the commands for all below.
(a) How do you see all the processes running in your AWS instance?
(b) What is the command you use to list a process id "pid" and how do you find its parent?
(c) What is the command you use to list the process in your instance and the number of threads ?
CAN YOU PLASE ALSO ATTACHED A SCREENSHOT OF THE FINISH WORK PLASE.
image text in transcribed

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

Write down the Limitation of Beer - Lamberts law?

Answered: 1 week ago

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago