COMSC 171 Dvc Diablo Valley College Unix and Linux Questions

Question Description

I’m stuck on a Programming question and need an explanation.

Write a single vi OR emacs command to do each of the following. Answer all parts for the same editor: [6]

@. name the editor

copy (region between mark and cursor)cut (region between mark and cursor)paste (last cut or copy)save and exitsearch for a stringset a markExplain why each of the following IP v4 addresses cannot be assigned to a network interface directly connected to the public Internet: [4]10.10.10.1013.255.255.25542.0.0.0127.1.1.1Write an extended regular expression to match each of the following: [4]One underscore or letter (uppercase or lowercase) followed by zero or more underscores, letters, or numeralsA number >= 0 and < 10 with or without one or more digits following a decimal pointWrite a bash command to assign each of the following to the scaler variable Var: [6]the first character of the variable Strthe first element of the array variable Arrthe remainder from dividing the integer value of the variable I by the integer value of the variable JWrite a bash command to assign to the array variable Arr the elements of the array variable Brr sorted in numeric order. [2]Write a UNIX command to do output each of the following from text input: [8]All lines, arranged with the 4th characters in reverse dictionary orderOnly the first sentence (ending with a period) from each line.All lines, with every space changed to an underscoreOnly lines which do not contain any spaces 1 attachmentsSlide 1 of 1attachment_1attachment_1 Unformatted Attachment Preview COMSC-171 Homework 1. Name of editor: vi a. y`a b. d`a c. p d. :wq! e. / f. ma 2. IP a. It is an address to a private network not visible from the outside internet. b. It is a broadcast address, which leads to a gateway that cannot be assigned to a computer address c. It is a formerly IANA reserved IP address d. It is a loopback address which directs to the localhost 3. Regular Expression a. "^[a-zA-Z_][ a-zA-Z0MDCLXVI_]+$" b. “^[0-9]d*(.d+)?” 4. Bash a. Var="$(echo $str| head -c 1)" b. Var=$ c. Var=$I%$J 5. #! /bin/bash IFS=$’n’ arr=(4 2 5 1 6) brr=$(sort Purchase answer to see full attachment Tags: Network settings private network IP v4 addresses Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Looking for this assignment?

do my essay homework

Reviews, comments, and love from our customers and community

Article Writing

Great service so far. Keep doing what you do, I am really impressed by the work done.

Alexender

Researcher

PowerPoint Presentation

I am speechless…WoW! Thank you so much! Definitely, the writer is talented person. She provided me with an essay a day early before the due date!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast. I was in pretty desperate need for help to finish this paper before the due date, which was in nine hours.

M.H.H. Tony

Student

Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time. Kate did a WONDERFUL job. I would highly recommend her.

Francisca N.

Student

Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more. Very good at communicating & fast at replying. And change & corrections she put in the effort to go back and change it!

Mary J.

Student

Essay (Any Type)

On time, perfect paper. All concerns & matters I had Tom was able to answer them! I will definitely provide him with more orders!

Prof. Kate (Ph.D)

Student

Case Study

Awesome! Great papers, and early! Thank you so much once again! Definitely recommend to trust James with your assignments! He won’t disappoint!

Kaylin Green

Student

Proofreading & Editing

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Rebecca L.

Researcher

Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. It’s like having a tutoring service available (:

Arnold W.

Customer

Coursework

Perfect!I only paid about $80, which i think was a good price considering what my paper entailed. My paper was done early and it was well written!

Joshua W.

Student

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>