Hire Experts For Answers
Order NowRelated Study Services
- Homework Answers
- Coursework writing help
- Term paper writing help
- Writing Help
- Paper Writing Help
- Research paper help
- Thesis Help
- Dissertation Help
- Case study writing service
- Capstone Project Writing Help
- Lab report Writing
- Take my online class
- Take my online exam
- Do my test for me
- Do my homework
- Do my math homework
- Online Assignment Help
- Do my assignment
- Essay Writing Help
- Write my college essay
- Write my essay for me
DESCRIPTION
Posted
Modified
Viewed
13
CIS 133
We use a virtual machine we created and use command prompt for commands.
I need questions 3-4 & 6-14 answered and if questions ask for a screenshot you can provide one but not needed as I will use the command you put and test and provide it.
This order does not have tags, yet.
Attachments
CIS133 – Homework 5 - File System Commands: linking and finding
1. Create a folder at the root of the file system and name it share. (You may already have a folder by this name from a previous assignment – if you do, use it.) Configure the permissions on the folder such that the group assigned to the folder is users and the owner and group have all rights to the folder and all others have no rights. In addition, configure the permissions so that any file that is created in the folder will receive the group assignment of the folder.
a. Show me the permissions you configured on the /share folder.
2. As root, create 4 files in the /share folder; name them file1, file2, file3 and file4.
Then, create a folder within the root user’s home folder; name the folder homework. Create a hard link in the homework folder to the file1 file in the /share folder. The link’s name must be file1.
a. What command did you use to create the link? If you did not use absolute paths in your command, you must ‘show’ me your existing location as part of your answer. (This is true of all the ln commands – anytime you don’t use an absolute path, be sure to show me your current location.)
b. What is the inode of the file1 file in the shared folder?
555179
c. What is the inode of the file1 file in the homework folder?
555179
d. Display the contents of the shared folder – the output must include the owner, group and inode information for the files in the folder.
e. Display the contents of the homework folder – the output must include the owner, group and inode information for the files in the folder
3. Pick 4 of your users who have a home folder in the /home folder and create a folder named linktest within each of their respective home folders. Create 5 files in the linktest folder of one of your users; name the files file1, file2, etc. Now, for each of these files, create a hard link to the file for each of the other 3 users. Place the links in their respective linktest folders. When creating the hard links, use the cp command and the ln command interchangeably. (When done you sould have a file1, file2, file3, file4 & file5 file in each of the 4 users’ linktest folders)
a. Execute the ls /home –l command and show it’s output.
b. Display the last 20 lines of the /etc/passwd file.
c. Display the contents of the first user’s linktest folder - the output must include the owner, group and inode information for the files in the folder.
d. Do the same for each of the other users; display the contents of their linktest folder - the output must include the owner, group and inode information for the files in the folder.
e. You should have used the cp command to create some of the hard links and the ln command to create some of the hard links. You do not have to show me every single command used but I want to see a complete copy of one of the ln commands and one of the cp commands used to create the hard links.
4. What command could be used to create a hard link in the /share folder named file1 which links to the first file1 file created in question 3. Be very specific in your answer.
5. In each one of the below lines, identify what the number to the left of janelle represents.
Each number before Janelle represents the number of hard links to that same file. So data has 5 hard links etc.
6. Use the find command to search only the file system to which the home folders are mounted for all files that have the same inode as the file3 file created in question 3.
a. Include the command and its output.
7. Use the find command to find all files that have the same inode as the file4 file created in question3. Delete these files by piping the find command’s output to the appropriate command.
a. What is the exact command used?
8. Use the find command to search only the file system to which the home folders are mounted for a list of all files that have 4 or more hard links. The output to the command must be formatted as displayed below:
Filename: filename Links: NumberOfLinks Inode#: iNode
a. Include the command and its output.
9. Using one of the file2 files from question 3, create a symbolic link and store it in the /share folder. The link’s name should file2.
a. What command did you use to create the link?
b. Use the ls –l command to display the contents of the /share folder
10. You should have a partition mounted to the /data folder from a previous assignment. Create a file in the data folder named testsym. Create a symbolic link to this file; the link should be named testsym and should be stored in one of the linktest folders created in question 3.
a. Confirm to me that a partition is mounted to the /data folder.
b. What command did you use to create the link?
c. Use the ls –l command to display the contents of the linktest folder.
d. Explain what happens to the link and why it happens when the partition is unmounted. Be very specific in your answer.
11. Create a symbolic link in one of the linktest folders created in #3. The links name should be mnt and it should point to the /mnt folder.
a. Use the ls –l command to display the contents of the linktest folder.
b. Move to the mnt link just created and display its contents. Execute the command that will show your current location and will confirm that this location is a symbolic link that ‘points’ to another folder. Provide the command and its output as your answer.
12. Refer to the two directory listings when answering these questions:
a. In what inode is the data in the /home/janelle/homework/testit file stored?
Stored in /share/file1
b. In what inode is the data in the /share/file2 stored?
Data stored in file2
c. If the showkey file in the below listing is deleted, will the data stored in the file’s inode be available? Explain your answer.
d. If the /home/janelle/homework/file2 file is deleted, will the data the file refers to still be available? Explain your answer.
e. If the /share/file1 file is deleted, will the /home/Janelle/homework/testit file be deleted as well? Explain your answer.
f. If the sync file in the below list is deleted, will the data stored in the file’s inode be available? Explain your answer.
Directory Listing of /home/janelle/homework.
Directory listing of /share
13. Create a new user with a home folder and a password and then use the find command to search /etc/ folder for all files that have been modified in the last 2 minutes.
a. Provide the command used and its output.
14. Use the find command to search ONLY your home folder (don’t include any subfolders) for all empty files (only files). (Note: If you have no empty files in the home folder, create a few.)
a. Provide the command used and its output.
Explanations and Answers
0
No answers posted
Post your Answer - free or at a fee
NB: Post a homework question for free and get answers - free or paid homework help.
Get answers to: Computer Information Systems Cis 133 Homework 3 or similar questions only at Tutlance.
Related Questions
- Incident Response Assignment : Knowing Where To Find The Right Data
- Coding Javascript Page Given Css And Html
- Coding Javascript Page Given Css And Html - Cse154 Homework 2- Hw2
- Given The Nfa Construct The Equivalent Dfa
- Computer Architecture Riscv, Data Path
- Penetration Testing Midterm Report
- Help On Python Turtle & Hare Assignment
- Penetration Testing Midterm Report
- Cis 120 Project That Needs To Be Done By Tommorrow At 12:30Pm Eastern Time
- Week 6 Quiz Needs To Be Done As Well
- Cis 120 Project That Needs To Be Done By Tommorrow At 12:30Pm Eastern Time
- Write A Program In C++ To Determine If Numbers Are Palindromes Using A Stack-Based Method For Testing.
- Write A Program In C++ To Determine If Numbers Are Palindromes Using A Stack-Based Method For Testing.
- View The "Writing Algorithms Applying Analysis And Deduction" Presentation Before Attempting This Assessment Activity!
- Week 3 Victorian Mansion Activity , Go To Week 3 And The Activity Is There
- Week 7 Quiz Needs To Be Done For This Week
- Security Assessment And Testing
- Conceptual Design Report Military Tactical Air Defence System
- Conceptual Design Report On Military Tactical Air Defence System
- Week 3 Victorian Mansion Activity , Go To Week 3 And The Activity Is There
- Assignment 2 Creat Bare Bones Solar System
- Applied Algorithms And Structure
- Robotics And Translations In Space
- Python Ai Project With Code And Write Up
- Python Ai Project With Code And Write Up
- 10 Questions, Cybersecurity Homework Help. (Fill In The Blanks)
- I Need Help With Week 5 Quiz For The Week
- 15 Minute Linux Scripting W/ The Awk Command
- Vhdl, Synthesis Of Hc-Sr04 Sensor Driver/Controller (Ise Project) Based On Instruction From Teacher
- Vhdl, Synthesis Of Hc-Sr04 Sensor Driver/Controller (Ise Project) Based On Instruction From Teacher
- Infr 1421 Practical Case Study Practical Case Study: Ccna Certification Skills
- I Need Help With My Mid Term For Computer Science , For Week 4
- I Need Help With My Mid Term For Computer Science , For Week 4
- Metaheuristics / Computational Complexity / Set Theory
- I Need Help With My Mid Term For Computer Science , For Week 4
- Computer Science Homework 1 (Python In Jupyter)
- Advanced Topics Cybersecurity
- Theory Of Computation: Give Two Strings That Cannot Be Generated From The Context-Free Grammar G.
- I Need Help With My Quiz For Computer Science , For Week 3
- I Need Help With My Quiz For Computer Science , For Week 2
- Finding The Text Cases And Expectations
- Assessment: The Similitude Score Has To Be Least That 20%
- Have Certain Code Match Flyweight Design Pattern
- I Need Help With My Quiz For Computer Science , For Week 2
- Make A Shift+Enter Work With C# Selenium
- Computer Systems Practice/Study Guide
- Computer Systems Practice/Study Guide
- Library Software System For Booking Books
- Intel 32 Bit Assembly Language Assignment
- Java Programming-Using A Data Structure And A File To Maintain A User’s Data