Do My Homework | Unix/linux

>Computer Science homework help

Unix/linux

2. Assume that you are hired as the Network Administrator for a small company. The 4 current employees have 3 Windows computers and 1 Mac computer. However, the business is growing and hiring 10 more employees. The business owner wants to set up file and print sharing for the employees, and set up a web server to sell their products on the Internet. Would you suggest implementing a Windows based network server or a UNIX/Linux based network server? Of course you must explain your suggestion if you want to receive full points for this question. 
3. It would be difficult for a user to tell the difference between a UNIX server and a Linux server if all they were doing was typing commands. 
True 
False 
4. True or False. The Courts in the United States have determined that UNIX and Linux are the same thing as far as Intellectual Property rights are concerned. 
5. When you connect to the UNIX server and run a UNIX command such as ls, where does the code 
for the ls command run, on your PC, or on the UNIX server? A. UNIX Server B. PC 
6. DOS has a tree structured file system for every logical disk. What is the maximum number of 
tree structures or top level directories in the UNIX file system ? A. 1 B. 1 for every physical drive C. 1 for every drive partition or physical drive D. 1 per device (drive, optical disk, thumb drive etc.) 
7. What key(s) or character(s) do you have to use to get out of the man page utility? A. exit B. x C. q D. Q 
8. What will be returned if you type: apropos delete user A. Every man page that has the word delete OR the word user B. Every man page that has the words delete AND user. Either word can be anywhere on the line. C. Every man page that has the exact phrase “delete user”. The words must be in that order, with 
just one space between them. D. A portal to another dimension will open 
9. What would you type to see all the files in the current directory? 
10. Assume you are in your home directory. What UNIX command do you use to see a listing of all the files in the directory /usr/lib ? 
11. While a directory may seem empty because it doesn’t contain any files or sub-directories, you will always see two items if you use the command to see all files. What are the names of these two items, and what are they? 
12. What you would type on the command line to move to the directory above the current 
directory? 
13. What you would type on the command line to move to your home directory? 
14. What you would type on the command line to move to the directory /etc/rc.d ? 
15. What you would type on the command line to move to a subdirectory of the current directory named junkDir? (You can assume that junkDir exists.) 
16. What is wrong with cat? That is, why do you typically use more or less instead of the cat command? A. It only works on files that have 10 or fewer lines. B. It only works on files that have lines that are 40 characters or less. C. It only works on files that have an extension of “.txt” D. The cat command sends the entire file to the display. This makes it cumbersome for files 
that are longer than a single screen. 
17. In WinSCP, which protocol should be used to connect to the CBC UNIX server? A. FTP B. SFTP C. SFTP (allow SCP Fallback) D. SCP 
18. True or False. UNIX follows the same 3 letter file extensions as Windows. That is, it uses .exe, .doc, .jpg etc. 
19. When you use the DOS COPY command you can assume many defaults. In fact you can leave the name of the destination blank, and DOS will assume that the destination is the current directory. Will the UNIX cp command work if you leave the destination blank? A. Yes. The cp command will assume you want to copy to the current directory. B. No. You must specify a destination. 
20. What is the difference between rmdir and rm –r ? A. The rmdir command will recursively delete any sub-directories and files while rm –r will not. B. The rm -r command will recursively delete any sub-directories and files while rmdir will not C. There is no difference, neither will recursively delete any sub-directories and files D. There is no difference, both will recursively delete any sub-directories and files 
21. When you delete a file using rm, how do you get it back out of the trash if you change your mind? A. Go to the trash folder in your home directory and move or copy the file. 
B. Use the undelete utility C. Run rm -recover filename, where filename is the name of the file you want to 
restore D. There is no trash and no way to recover the file without using special recovery software. 
22. Why can’t normal users, that is a user that is NOT an admin or superuser, change their user id (uid)? A. They CAN change it by using the usermod command B. The uids must be assigned in sequence, and only the admin knows which uid should be the 
next to use C. This would cause security issues as any user could impersonate any other user by simply 
changing to their uid D. The user may try to use a uid that has already been assigned and this would cause the OS to 
crash. 
23. Explain the difference between how umask and the chmod command affect your permissions? A. There is no difference B. The umask command only affects files that already exist, while chmod changes your 
default permissions C. The chmod command only affects files that already exist, while umask changes your 
default permissions D. The umask command only works in symbolic mode, while chmod only works in binary 
mode E. The umask command sets permissions for directories, while the chmod command sets file 
permissions. 
24. Can you set your default file permissions to 644 and at the same time have your default directory permissions set to 744? Why or why not? 
25. Say you had a file named q19 that had permissions of -r-xr-x—- What command would you use If you wanted to change permissions on q19 to -rwxr–r– (You must include the command name and the arguments to the command.) 
tsakoCross-Out
26. Say you have a subdirectory named testsub, which has permissions of drw——- Also assume that there was a file in testsub named testfile that had permissions of -rwxrwxrwx. Would you be able to see details such as the file permissions for testfile if you ran ls –al testsub? A. Yes B. No 
27. Say you have a subdirectory named testsub, which has permissions of drw——- Also assume that there was a file in testsub named testfile that had permissions of -rwxrwxrwx. Would you be able to cat testfile ? A. Yes B. No 
28. Say you have a subdirectory named testsub, which has permissions of drw——- Also assume that there was a file in testsub named testfile that had permissions of -rwxrwxrwx. Would you be able to execute testfile ? A. Yes B. No 
29. Say you have a subdirectory named testsub, which has permissions of drw——- Also assume that there was a file in testsub named testfile that had permissions of -rwxrwxrwx. Would you be able to cd into testsub ? A. Yes B. No 
30. Which of the following is NOT a requirement for making your umask changes permanent? A. You must add the source .login command to your startup script B. The umask command must be in your .login file C. The .login file must be in your home directory D. You must have read and execute permissions on your .login file 
31. Users with an account on a UNIX system can edit some of their own information in the /etc/passwd file, even though they do NOT have write permission. A. True B. False 
32. Assume you are in vi in command mode. What happens if you hit the i key? A. You will change to input/insert mode and the cursor will move to the beginning of the 
current line. B. You will change to input/insert mode and the cursor will move to the end of the current line. C. You will change to input/insert mode and the cursor will move to the right of the current 
character. D. You will change to input/insert mode and the cursor will stay where it is. 
33. Assume you are in vi in command mode. What happens if you hit the A key? A. You will change to input/insert mode and the cursor will move to the beginning of the 
current line. B. You will change to input/insert mode and the cursor will move to the end of the current line. C. You will change to input/insert mode and the cursor will move to the right of the current 
character. D. You will change to input/insert mode and the cursor will stay where it is. 
34. In vi, what key(s) do you hit to change from input/insert mode to command mode ? A. i, a, I, A, etc. B. C. D.  
35. Assume you are in command mode. What the vi command(s) would you use to delete or cut the current line? 
36. Assume you are in command mode. What the vi command(s) would you use to replace the current character? 
37. Assume you are in command mode. What the vi command(s) would you use to force vi to quit w/o making any changes, even though you have edited the contents of the buffer A. :q B. :q! C. 😡 
D. :x! 
38. Assume you are in command mode. Write the command you would use to have vi display line numbers. 
39. Assume that you are in vi. What would you expect to happen if you typed the following: :-5,+5 [email protected]^[email protected]@ 
(You should be able to look at this and determine what will the command is saying. If you want to test this you will should create a text file with at least 20 lines, and put the word “tony” on every line. Some of the lines should have “tony” as the first word on the line, but it should not be the first word in other lines. Position yourself about halfway through the file before running the command.) 
40. Explain this step by step: This question requires you to perform the following hands-on tasks on your account on the CBC Linux server. Make sure and follow the instructions very carefully, especially the last instruction. I will only check for a file named “all.done”, so if you name your file something else you will not receive credit for this question. 
Also remember that if the Linux server supports FTP (WinSCP), you can always move the file to your Windows PC or Mac, perform the tasks, then copy the file back to the Linux server. 
A.Copy the file /home/test2.txt to your home directory. 
B.Remove all of the tab (^I) characters. (Hint: it may be easier to do this if you can see the tabs.) 
C. Edit the file and add two lines at the top of the file which contain your name (on the first line) and the “Geek In Training” (on the second line). 
D. In the first 30 lines, change all occurrences of the phrase “WWW” to the phrase “Santa Claus is coming to town”. 
E.From line 30 to the end of the file change all occurrences of the phrase “WWW” to the phrase “Que pasa”. 
F.Add the line “FIN” to the end of the file. 
G.Save the file with the name: all.done 
41. Explain this step by step: This question requires you to perform the following hands-on tasks on your account on the CBC Linux server. Make sure and follow the instructions very carefully, especially step 2. I will only check for a file named “executeTest”, so if you name your file something else you will not receive credit for this question. 
A. Create a file on the PC (use any editor), which contains the following two lines: 
echo “I love UNIX” 
date 
B. Save the file as plain text with the name: executeTest 
C. Move the file to your account on the UNIX system 
D. Give yourself, your group, and the world execute permissions. You can add other permissions if you wish. (Hint – to test this try running the file by typing ./executeTest. If you get the “Permission Denied” error message then something is wrong. If you see “I love UNIX” followed by the current date then you have execute permission.

Hire an expert writer to create a solution for your assignment

We have more than 200 experts available to write your paper. Our team of experienced writers is here to assist with your academics and make sure that you don’t miss any deadlines or assignments.

Use GATEWAY20 to get a 20% discount on all papers.

Why students choose our experts for homework help, assignments, and coursework

Here are some Benefits of ordering a solution to this homework from us:

p

Full and Instant Money back guarantee

Free proof-reading and editing

Timely delivery

Cheapest homework help writing service

Z

Best custom writing service in US, UK, Australia, and China

100% Reliability and Trust. Satisfaction and Value for money guaranteed.

Solutions with Zero-Plagiarism

Our professional writers will create an original solution for your homework written from scratch. A plagiarism report of your homework is also available.

Free Unlimited Revisions

Our experts will revise your paper until you are satisfied with the final delivery.

24|7 Priority Support

You can communicate with us at any given moment.

Professional Writers and Research Experts

Our team consists of determined, disciplined and ambitious experts with competitive degrees from top Universities from across the world.

Thorough research to complete your assignment

A good research into your paper improves its credibility, gives it higher ranking, and makes your argument solid. That is why our team consists of research experts to guide and work with the writers in preparing your papers.

Testimonials – What other students say about our homework help services

★★★★★

Your writers are very good. Perfect communication throughout. Thanks a lot

Hashami

University Student, Cross-cultural economics analytical paper

★★★★★

The writing skills used to write my essay is just lovely. cheers mate

Jake

Undergraduate Student, Management essay

★★★★★

Great!! My instructor loved it. Thanks to your team

Ela

College Student, Transformational leadership essay

★★★★★

Thank you for your assistance. I’m currently waiting for my grade.

Graves

College Student, Internal competitiveness research paper

★★★★★

That was fast. Thought we would miss the deadline. I have another for next week.

Klein

Masters, psychological term paper

★★★★★

Just what I needed. I’ll need your services in preppin’ my dissertation.

Juan Lee

Phd Student, Comparative analysis

Questions Recently Solved by Our Experts

Do My Homework | HW

HW   Instructions: Papers will be 6 pages, 12 point font and double spaced. They require 3 peer-reviewed journal articles using outside sources from sites like PsycInfo or Google Scholar. Please provide references in APA format at the end of the papers. Title page and...

read more

Do My Homework | HW

HW   Tobacco use is a major global public health challenge, causing in excess of 7 million deaths each year. Of the 7 million tobacco-related deaths worldwide, roughly 70,000 Saudis die from smoking-related diseases (Itumalla & Aldhmadi, 2020). Research a national...

read more

How it works: How do we get your homework done?

Our online writing service considers the time factor in working on your request for assignment writing help. We provide a user-friendly platform where in just a few clicks, your homework will be in the hands of an expert, and back to you as soon as you need it. The following are the steps your assignment goes through:

1. Access our Interactive Order Panel

The first step is to click the Do My Homework. Instantly, you are directed to our interactive Order Panel. The Order Panel is an interactive application that allows you to place and track  orders for your assignment, and helps our writers to connect with you and work on different orders.

d

2. Provide instructions for your essay

Fill in the New Order Form to specify the details of your homework. Here you provide the instructions such as the number of pages, deadline, number of required sources, and also attach any files that can help us complete your assignment in a flawless way. Provide as much information as you can on your order. The price for your essay is automatically calculated as you fill in the details of your order.

3. Selecting an Expert Essay Writer for your essay

After successfully placing an order and securing payment, the order is matched to a writer with the skills and knowledge required to complete the essay. Here we hand-pick the expert with the top skills in your subject/discipline to complete your homework. The Writer starts to work on the paper and provides updates as they progress.

4. Receive your completed assignment from our Quality Assurance team

After the paper is completed by the expert hand-picked to write your essay, the quality assurance team reviews and proof-read it for relevance to answering your instructions and errors in writing. After it meets all the requirements, the essay is submitted to your account through the order panel and we send you an email notification. If you want, we can send the completed file to your email as an attachment. You receive the order and you go through it to make sure it meets your requirements. In case you need revisions, let us know and we will work on it immediately.

In the last step, you may provide feedback and possibly order another assignment. Once you are satisfied with the paper, give us feedback on your experience with our service by rating the writer. The feedback helps other students checking out for similar services to know that we provide the best essay writing services and homework help solutions.

Frequently Asked Questions

Is this service Legit?

Paper Research consists a group of writers brought together by the desire to help students achieve more in essay writing. Our Writers are experts in tutoring, research, and writing activities. We have worked with over 5,000 students pursuing college, undergraduate, Masters, and Ph.D. degrees. Our Services are Trusted and Verified.

Will My Paper have plagiarism?

No. Absolutely Not. All our Papers are Original and are written by our experts from scratch. To be sure, you can request a plagiarism report when placing an order.

How Fast can you deliver my paper?

Any duration you select when choosing a deadline for the paper. The number of hours could be 3 hours to 24 hours to 2 days, a month, or any other duration.

For short assignments ranging between 1 page and 3 pages(100 – 1000 words), we can have them delivered in 1 hour.

Can I get a professional writer to write my essay?

Absolutely Yes. If you are looking for the most reliable and executive essay writing service, you are in the right place.

Our Service is a program dedicated to improving student’s achievement in essay writing assignments. In our company, professional tutors and expert writers work together to create original solutions to help students complete their assignments.

Our essay writing service is the most reliable writing help online. Our writers are former students and researchers in leading institutions across the world.

Our founder, Frank, is a legend writer and educator who has contributed significantly to improving the performance of thousands of students.

The goal of paperresearch.com is to lead in changing the learning process by allowing students to access unlimited resources in writing their essays.

How Much will it Cost?

Our Rates start at $10 per page (275 words). Plus:

  • Free First Page
  • Free Reference Page
  • Free Unlimited Revisions
Can I get a Discount for my first paper?

Ofcos. Use the discount code “GATEWAY20” at checkout to get a 20% discount off on all essays you order.

Do I get a refund if I am not satisfied with the paper?

Yes. Anytime you establish that Our Services did not help you meet your desired outcome, you are entitled to a Full Refund. Read our refund policy to learn more.

'One More Question'?

Chat with a live agent on the floating chat. Frank is online now.

Get a Plagiarism-free paper Today

Order an essay, term paper, research paper, or any other assignment and get an expert to work on it. Use GATEWAY20 to get a 20% discount on all papers.

Alternatively, Check Out the FIVE STEPS in writing an essay