Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Programming Language Expert

1. State and describe 6 types of redirection. Include exs for each.

2. describe what each of the following programs do and give exs of its use:

1) crontab   2) make   3) chmod    4) vi   5) gcc   6) paste    7)join

For the following problems: describe what the commands and arguments will do.

3. chmod 754 test.txt c* 2> describeed.txt

4. cat testfile.txt | sed -e ‘/s/dog/cat/g’ > animals.txt

5. ANIMALS=`date +%d; echo ‘\ndog cat mouse’`

6. if test –z file.txt; then; echo done; else; touch file.txt;

7. paste –d, names.txt address.txt> book.txt 2> errors.txt

8. The file toys.txt has the permissions - r w - - w - - w – prepare the full command to change the permissions on the file for the following problems: (Use the original file permissions given above for each problem.)

i. – r w x r w - r - x

ii. - r - x – w x - - x

iii. d r w - r - - - w x

9. Describe the 5 essential steps in creating a new operating system on a machine.

10. What are virtual machines? Describe a few pros and cons of them.

11. Which of the following are valid variable names?

a. _FRUIT_BASKET

b. 1_APPLE_A_DAY

c. FOUR-SCORE&7YEARS_AGO

d. VARIABLE

12. prepare a loop that executes a line of code “echo ‘hello there’” once.

13. describe what types of files are found in the following directories:

a. /dev b. /mnt c. /boot d. /var e./lib

14. prepare a for loop that displays a countdown to the screen.

15. Describe the lifecycle of a project under version control.

16. When would we use the following commands in version control (using subversion) and describe what it does:

a. Svn update

b. Svn delete

c. Svn status

d. Svn commit

e. Svn list

17. Create a script that will do the following:

The script will have a menu that continuously loops until they type ‘EXIT’.

The menu will list off simple options for the user:

1. Open a file – the user will then be asked for the filename and the file will be opened on the screen.

2. Edit a file – the user will then be asked for the filename and the file will be opened in the vi editor

3. Move a file – the user will be asked for the filename to move and the location to move the file to; which afterwards the action will be performed.

4. Copy a file – the user will be asked for the filename to copy and the location to copy the file to; which afterwards the action will be performed.

5. Rename a file – the user will be asked for the filename to rename and then the new name for the file.

6. Update a file – the user will be asked for a filename and then the permissions to update the file with; after which the files permissions would be updated (you can do numeric or text)

7. Exit – this should close the loop.

Note:

• Clear the screen and re-display the menu after any requests have been completed or a menu option that is not there is selected.

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91823

Have any Question? 


Related Questions in Programming Language

Create a base class that will include the properties of

Create a base class that will include the properties of some type of data related to the company you work for or a favorite hobby. For example, I work for a healthcare provider, so my base class might be "Medical Facilit ...

Lab assignmentwe begin our investigation of object-oriented

Lab Assignment We begin our investigation of object-oriented programming by creating an object-oriented program with a class called Employee. You will create two objects based on the Employee class, along with a class th ...

Enable geometricobject comparable modify the

(Enable GeometricObject comparable) Modify the GeometricObject class to implement the Comparable interface, and define a static max method in the GeometricObject class for finding the larger of two GeometricObject object ...

Assignmentreference this assignment is an object oriented

Assignment Reference: This assignment is an object oriented version of the In-class assignment. The functionality supported for a single vehicle in ICA 01 would be extended to multiple vehicles using a single class Car, ...

Assignment instructionsexception handlingfirst create three

Assignment Instructions Exception Handling First, create three exception classes named NumberHighException, NumberLowException, and NumberNegativeException. Both NumberHighException and NumberLowException should be direc ...

Create a class rectangle with attributes length and width

Create a class Rectangle with attributes length and width, each of which defaults to 1. Provide methods that calculate the rectangle's perimeter and area. It has set and get methods for both length and width. The set met ...

Design a class named pet which should have the following

Design a class named Pet, which should have the following fields: •Name - The name field holds the name of a pet. •Type - The type field holds the type of animal that is the pet. Example values are "Dog", "Cat", and "Bir ...

Creating methodssince you have created the data objects for

Creating Methods Since you have created the data objects for Harbor View Mooring, you now need to create processes associated with each object. In order to keep with good object-oriented practices of implementation hidin ...

In this assignment you will write r functions for

In this assignment, you will write R functions for forecasting future values of a time series, and apply them to observations on numbers of deaths and maximum temperatures in Houston, Texas. Doing this will provide more ...

Assignmentin this assignment you will implement a

Assignment In this assignment, you will implement a simplified gradebook. Your application should: Ask for a student's name. Ask for how many letter grades will be inputted. After all of the valid letter grades are enter ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen