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

  Declare two variables of type course

Declare two variables of type course.

  How to develop a simple scientific calculator

make a Clear button to clear the result text box and reset all controls.

  Write a program on simple game

Write a program on simple game.

  Defining the class counter

Write down the definition of the class counter consisting of: An instance variable named counter of type int. A constructor which takes one int argument and allocates its value to the counter.

  Visual logic assignment

Write down a program having a procedure that draws a shape of your choice. The program must call the procedure 10 times in order to draw the shape at 10 random locations.

  How can sophie use applocker

How can Sophie use AppLocker.

  Description of the purpose of each layer in brief

description of the purpose of each layer in brief. A report to describe the different layers of SOA and the need for each layer. Examples of three Web services. An annotated diagram showing the layers.

  What is the sql

Recently AMI has been experiencing significant downtime because of  a failing software application written for AMI when the company started. This Access database application is responsible for a main manufacturing process.

  The normal means to give values to a function

The parameter list is the normal means to supply values to a function. Global variables are an alternate means for a function to have access to values. define what a global variable is, how it is declared, and then discuss the pros and cons of com..

  Program that prints to screen results of dividing 23 by 5

create a program, using C++ that prints to screen the results of dividing 23 by 5, where 23 and 5 are ints. Provide the results of what was printed to screen via comments in the program ; need in hardcopy.

  Find out p50 in mmhg

on the experimental data using built in Matlab function, polyfit. A

  Explain protocol and architecture

define Connection Oriented Protocol and Connectionless Protocol.

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