Note down a command, assuming your home directory

Assignment Help Computer Engineering
Reference no: EM1336472

1. Describe the results of executing each of the following grep commands in your home directory.
a. grep -c ill memo
b. grep -n ill memo

2. What would the permission section of an ls -l listing for filex look like after setting the following permissions?
a. chmod 764 filex
b. chmod 666 filex

3. Rewrite the following sequence of commands using sort as a filter. You should end up with a single command line when you are done.
$ sort roster > temp
$ lpr temp
$ rm temp

4. Write a command, assuming your home directory, to list all files that:
a. Start with the letters b or f.
b. Start with the letters a through k.
c. Have a capital letter anywhere in their name.

5. What is the difference between the following commands?
$ cat xyz[12]
$ cat xyz[1-2]

6. What files would the following match?
$ ls -l file[1-20]

7. Write a script that will prompt for the user's first name and store it in a variable. Then prompt for the last name and store it in a variable. Finally, display the stored information in the format "You entered lastname, firstname" and ask the user for confirmation. If the answer is "y" or "yes" then say "Thank you!" if the answer is "n" or "no" then start again with the prompts.

Reference no: EM1336472

Questions Cloud

Hrm and a nursing home : How would HRM in a health care organization actually "operate" some of these HRM duties?
Plan a flowchart of the decision structure : A telephone company plan charges 25 cents for each call made. In addition, it charges 5 cents a minute for all calls made to a phone number that has a service plan with the company.
Explain the solution to consumer behavior : Explain The solution to Consumer Behavior and Select a purchase you have made recently and describe in detail how each of the 4Ps
Make a client/property database using microsoft access : The file New Database window opens, then type the word Client as the name for this file where cursor is blinking, then click the create bottom.
Note down a command, assuming your home directory : What will the permission section of an ls -l listing for filex look like after setting the following permissions.
Explain market penetration analysis : Explain Market penetration analysis and What are the steps in creating a market penetration analysis
Prepare a career planning assistance program : Career Planning Assistance Program - Prepare a Career Planning Assistance Program at my organization
What are the latest advancements in cabling : Why would a company want a network on its premises? How will a department or company benefit by having a network.
Explain sales and marketing : Explain Sales and Marketing and Examine the relationship between the marketing and sales in a lodging operation

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write the thoughts according to you

All doctor offices have not become 100 percent computerized yet. You can still see good % of offices use manual patient record files indexed by the first letter of patients' last names.

  The address assigned to one device is 7ca416

The address bus of a computer has 16 address lines, A15_0 If the address assigned to one device is 7CA416 and the address decoder for that device ignores lines A8 and A9, what are all the addresses to that the device will respond.

  Determining the better internet browser

Which among the following is better software tool: Mozilla Firefox, Internet Explorer, or Google Chrome? Supplement your argument with evidence, and signify whether or not you alter your position based on the discussion.

  Suppose poisson arrivals and departures at each router

A CPU in a router can process 2 million packets/sec. The load offered to it is 1.5 million packets/sec. If the route from source to destination contains 10 routers (having no additional traffic), how much time is spent being queued and serviced by..

  Solve the problem using python programming

Solve the problem using PYTHON Programming

  Clarification may be offered to clear up that confusion

Why do people confuse the World Wide Web with the Internet. What clarification could be offered to clear up that confusion.

  Make java applet that displays the 13 standard colors

Write down an Java Applet that displays the 13 standard colors available in Java (back, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white and yellow) in a set of 13 filled rectangles.

  Write down code to complete the conversion

You've just started a new semester and you've become friends with one of your classmates, Tomislav. Tomislav tells you he has just moved to United States from Europe and he's having a difficult time adjusting to the English units of measurement. In..

  Make a letter applying for the job and write a resume

Your letter has to address the details in the ad. So, if the ad says the successful candidate will need to speak Spanish, you should say whether or not you can speak Spanish in the letter.

  New system implementation

In new system implementation, what could you do as the lead system designed to assure the implementation went smoothly?

  What is the total capacity of a disk pack

examine a disk with the following characteristics (these are not parameters of any particular disk unit): block size B=1024 bytes, number of blocks per track=10, number of tracks per surface=400. A disk pack consists of 15 double-sided disks.

  Moidifying the depth first search

Describe how to alter the depth-first search so that every vertex v is allocated an integer label cc[v] between 1 and k.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd