Question
QUESTION 1 From your home directory: Create a symbolic link to the file in my home directory called autos . Call your link by the
QUESTION 1
From your home directory: Create a symbolic link to the file in my home directory called autos. Call your link by the same name - autos. What command string did you use to do this?
ls -ln autos | ||
ln -s /users/faculty/fveglian/autos autos | ||
link -n autos | ||
ln -symbolic /users/faculty/fveglian/autos autos |
10 points
QUESTION 2
Within your home directory, create a symbolic link to my home directory. Call the link fvhome.
If you execute: cd fvhome then execute ls -l you can view the contents of my home directory.
True or false?
True
False
10 points
QUESTION 3
If you were to create a hard link to a file in my home directory, who would own the hard link?
You, the user, would own the hard link. | ||
The root user would own the hard link. | ||
fveglian would own the hard link. | ||
The system administrator owns the hard link. |
10 points
QUESTION 4
What potential problem could you run into if you have multiple writable links to a single file? Consider this - many users pointing to one file.
No problem. Everyone gets to write to the file. | ||
No problem. It's a free world you know. | ||
Potential problem. Everyone with a writable link to the file could over-write the contents of the file. | ||
No problem at all. |
10 points
QUESTION 5
Match the permissions notation below with the correct words.
|
|
10 points
QUESTION 6
In your own home directory, create a file called permtest. When answering the following questions, use the symbolic method.
What command string will set the permissions on this file so that the only permissions on the file are read-only for the user?
chmod g-r permtest | ||
chmod u-w,g-r,o-r permtest | ||
chmod u-rw,g-r,o+r permtest | ||
chmod u-r,g-w,o-w permtest |
10 points
QUESTION 7
Copy the file called /etc/hosts to your home directory. Set the permissions on the file as follows: - - - r - - r - - (044)
See what happens when you try to cat the file.
You can deny yourself read access to a file or directory that you own.
Is this true or false?
True
False
10 points
QUESTION 8
When using the vim editor: What is the difference between the following command: o or O
No difference. | ||
They both open a file. | ||
o opens a line below the current line. O opens a line above the current line. | ||
Move cursor to the end of a line. |
10 points
QUESTION 9
When using the vim editor The key sequence :q! will quit a file without saving the changes that you made prior to exiting.
True
False
10 points
QUESTION 10
When using the vim editor: What file do you use to configure the vim editor?
Pick the best file. This file can be created and stored in each users home directory.
.csh | ||
.vimrc | ||
.mailrc | ||
.configure |
10 points
Click Save and Submit to save and submit. Click Save All Answers to save all answers.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started