Computer Science: Linux Assignment 2 - Chapter 3 Filesystems Analysis

Verified

Added on  2023/04/05

|60
|907
|153
Homework Assignment
AI Summary
This assignment solution explores fundamental concepts of Linux filesystems, covering topics from navigating directory structures using relative and absolute pathnames to understanding various file types. The document details hands-on projects, including the use of shell wildcards for specifying multiple filenames, displaying the contents of text files, and searching for regular expressions using grep. The assignment also delves into using the vi editor for text manipulation, covering commands for inserting, deleting, and searching text, along with file saving and quitting procedures. Furthermore, it examines file permissions and the use of commands like 'find' to locate files based on specific criteria, providing a comprehensive overview of essential Linux filesystem operations and tools. The solution includes detailed explanations of each step and command used within the projects, providing a clear understanding of the Linux environment.
Document Page
Running head: LINUX ASSIGNMENT 2
LINUX Assignment 2
Name of the Student:
Name of the University:
Author Note
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
1
LINUX ASSIGNMENT 2
Chapter 3
Hands-On Project 3-1
1. Turing on the computer
Control + Alter + F2
Document Page
2
LINUX ASSIGNMENT 2
2. The current working directory is /home/student123
3. No the current working directory did not change
4. No the current working directory did not change
5. Yes, the current working directory is /home
Document Page
3
LINUX ASSIGNMENT 2
6. No. The current directory remains the same /home. No path was specified.
7. An error message No such file or directory was received as there were no directory
named etc in the current directory.
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
4
LINUX ASSIGNMENT 2
8.
Yes the current directory changed to /etc and the relative path was specified and not
the absolute path.
9. Yes the current directory changed to / and the relative path was specified and not the
absolute path.
10. No the directory did change. The cd ~ command did not work.
Document Page
5
LINUX ASSIGNMENT 2
11.
The directory did not change.
Document Page
6
LINUX ASSIGNMENT 2
12.
13. The directory was changed from samba to sysconfig.
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
7
LINUX ASSIGNMENT 2
14.
The directory home could only be reached however it can be said that the absolute
path is beneficial as it saves time.
Document Page
8
LINUX ASSIGNMENT 2
15.
Document Page
9
LINUX ASSIGNMENT 2
Hands-On Project 3-2
1.
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
10
LINUX ASSIGNMENT 2
2.
3.
Document Page
11
LINUX ASSIGNMENT 2
Root/run/ is displayed in the screen and three sub directories were created.
4.
5. Yes the display changed and b was displayed instead of r. The beep was heard as the
command as completed.
chevron_up_icon
1 out of 60
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]