Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1: Get familiar with Linux system Task 1.1 [15 points): Login to Ubuntu system, open the terminal and perform the below tasks. Provide screenshots

image text in transcribed
Task 1: Get familiar with Linux system Task 1.1 [15 points): Login to Ubuntu system, open the terminal and perform the below tasks. Provide screenshots for command outputs. a) Issue a command to find out your username b) Issue a command to find the current working directory c) Issue a command to find the list of files or directories in the current directory d) Make a directory titled firstname_handson1. Replace firstname with your first name e) Go to the directory that you have created in Step d) f) In the current directory, create a text file hs1.txt using touch command g) Open the text file and write something in it. You can open the file with the text editor which you can launch by clicking the box available at the bottom left in your system and typing text editor in "search your computer". You can open the file in the text editor using the File menu option. You can write something in it and save the file. You can also use vim or nano command-line editors installed in the system. h) Return to the terminal and copy the hs1.txt file to hs.txt file using a command i) Remove hs1.txt file i) Display the content of hs.txt file in the terminal k) Issue a command to check manual for is command, scroll down the manual using up and down arrow keys. Read a few options available with the command. Issue is command with an option that could display the files sorted by time (Hint: Check the manual for Is command) m) Check access permissions for hs.txt file. n) If you check the permission, you will see that group can read and write the file, and other can read the file. Revoke write privilege from the group and read privilege from others. o) Check the file permissions of /bin/ls and /bin/passwd commands and discuss the differences that you observe in them

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

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago