Linux based network server

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.

Don't use plagiarized sources. Get Your Custom Essay on
Linux based network server
Just from $10/Page
Order Essay

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. <ctrl-x> C. <ctrl-q> D. <esc>

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: <esc>:-5,+5 s@^[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


Get Professional Assignment Help Cheaply

Buy Custom Essay

Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?

Whichever your reason is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.

Why Choose Our Academic Writing Service?

  • Plagiarism free papers
  • Timely delivery
  • Any deadline
  • Skilled, Experienced Native English Writers
  • Subject-relevant academic writer
  • Adherence to paper instructions
  • Ability to tackle bulk assignments
  • Reasonable prices
  • 24/7 Customer Support
  • Get superb grades consistently

Online Academic Help With Different Subjects

Literature

Students barely have time to read. We got you! Have your literature essay or book review written without having the hassle of reading the book. You can get your literature paper custom-written for you by our literature specialists.

Finance

Do you struggle with finance? No need to torture yourself if finance is not your cup of tea. You can order your finance paper from our academic writing service and get 100% original work from competent finance experts.

Computer science

Computer science is a tough subject. Fortunately, our computer science experts are up to the match. No need to stress and have sleepless nights. Our academic writers will tackle all your computer science assignments and deliver them on time. Let us handle all your python, java, ruby, JavaScript, php , C+ assignments!

Psychology

While psychology may be an interesting subject, you may lack sufficient time to handle your assignments. Don’t despair; by using our academic writing service, you can be assured of perfect grades. Moreover, your grades will be consistent.

Engineering

Engineering is quite a demanding subject. Students face a lot of pressure and barely have enough time to do what they love to do. Our academic writing service got you covered! Our engineering specialists follow the paper instructions and ensure timely delivery of the paper.

Nursing

In the nursing course, you may have difficulties with literature reviews, annotated bibliographies, critical essays, and other assignments. Our nursing assignment writers will offer you professional nursing paper help at low prices.

Sociology

Truth be told, sociology papers can be quite exhausting. Our academic writing service relieves you of fatigue, pressure, and stress. You can relax and have peace of mind as our academic writers handle your sociology assignment.

Business

We take pride in having some of the best business writers in the industry. Our business writers have a lot of experience in the field. They are reliable, and you can be assured of a high-grade paper. They are able to handle business papers of any subject, length, deadline, and difficulty!

Statistics

We boast of having some of the most experienced statistics experts in the industry. Our statistics experts have diverse skills, expertise, and knowledge to handle any kind of assignment. They have access to all kinds of software to get your assignment done.

Law

Writing a law essay may prove to be an insurmountable obstacle, especially when you need to know the peculiarities of the legislative framework. Take advantage of our top-notch law specialists and get superb grades and 100% satisfaction.

What discipline/subjects do you deal in?

We have highlighted some of the most popular subjects we handle above. Those are just a tip of the iceberg. We deal in all academic disciplines since our writers are as diverse. They have been drawn from across all disciplines, and orders are assigned to those writers believed to be the best in the field. In a nutshell, there is no task we cannot handle; all you need to do is place your order with us. As long as your instructions are clear, just trust we shall deliver irrespective of the discipline.

Are your writers competent enough to handle my paper?

Our essay writers are graduates with bachelor's, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college degree. All our academic writers have a minimum of two years of academic writing. We have a stringent recruitment process to ensure that we get only the most competent essay writers in the industry. We also ensure that the writers are handsomely compensated for their value. The majority of our writers are native English speakers. As such, the fluency of language and grammar is impeccable.

What if I don’t like the paper?

There is a very low likelihood that you won’t like the paper.

Reasons being:

  • When assigning your order, we match the paper’s discipline with the writer’s field/specialization. Since all our writers are graduates, we match the paper’s subject with the field the writer studied. For instance, if it’s a nursing paper, only a nursing graduate and writer will handle it. Furthermore, all our writers have academic writing experience and top-notch research skills.
  • We have a quality assurance that reviews the paper before it gets to you. As such, we ensure that you get a paper that meets the required standard and will most definitely make the grade.

In the event that you don’t like your paper:

  • The writer will revise the paper up to your pleasing. You have unlimited revisions. You simply need to highlight what specifically you don’t like about the paper, and the writer will make the amendments. The paper will be revised until you are satisfied. Revisions are free of charge
  • We will have a different writer write the paper from scratch.
  • Last resort, if the above does not work, we will refund your money.

Will the professor find out I didn’t write the paper myself?

Not at all. All papers are written from scratch. There is no way your tutor or instructor will realize that you did not write the paper yourself. In fact, we recommend using our assignment help services for consistent results.

What if the paper is plagiarized?

We check all papers for plagiarism before we submit them. We use powerful plagiarism checking software such as SafeAssign, LopesWrite, and Turnitin. We also upload the plagiarism report so that you can review it. We understand that plagiarism is academic suicide. We would not take the risk of submitting plagiarized work and jeopardize your academic journey. Furthermore, we do not sell or use prewritten papers, and each paper is written from scratch.

When will I get my paper?

You determine when you get the paper by setting the deadline when placing the order. All papers are delivered within the deadline. We are well aware that we operate in a time-sensitive industry. As such, we have laid out strategies to ensure that the client receives the paper on time and they never miss the deadline. We understand that papers that are submitted late have some points deducted. We do not want you to miss any points due to late submission. We work on beating deadlines by huge margins in order to ensure that you have ample time to review the paper before you submit it.

Will anyone find out that I used your services?

We have a privacy and confidentiality policy that guides our work. We NEVER share any customer information with third parties. Noone will ever know that you used our assignment help services. It’s only between you and us. We are bound by our policies to protect the customer’s identity and information. All your information, such as your names, phone number, email, order information, and so on, are protected. We have robust security systems that ensure that your data is protected. Hacking our systems is close to impossible, and it has never happened.

How our Assignment Help Service Works

1. Place an order

You fill all the paper instructions in the order form. Make sure you include all the helpful materials so that our academic writers can deliver the perfect paper. It will also help to eliminate unnecessary revisions.

2. Pay for the order

Proceed to pay for the paper so that it can be assigned to one of our expert academic writers. The paper subject is matched with the writer’s area of specialization.

3. Track the progress

You communicate with the writer and know about the progress of the paper. The client can ask the writer for drafts of the paper. The client can upload extra material and include additional instructions from the lecturer. Receive a paper.

4. Download the paper

The paper is sent to your email and uploaded to your personal account. You also get a plagiarism report attached to your paper.

smile and order essay GET A PERFECT SCORE!!! smile and order essay Buy Custom Essay