Ask Question, Ask an Expert

+61-413 786 465

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

Structs and enumsoverviewin this task you will create a

Structs and Enums Overview In this task you will create a knight database to help Camelot keep track of all of their knights. Instructions Lets get started. 1. What the topic 5 videos, these will guide you through buildi ...

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

Assignment - proposal literature review research method1

Assignment - Proposal, Literature Review, Research Method 1. Abstract - Summary of the knowledge gap: problems of the existing research - Aim of the research, summary of what this project is to achieve - Summary of the a ...

Overviewthis tasks provides you an opportunity to get

Overview This tasks provides you an opportunity to get feedback on your Learning Summary Report. The Learning Summary Report outlines how the work you have completed demonstrates that you have met all of the unit's learn ...

Task working with arraysoverviewin this task you will

Task: Working with Arrays Overview In this task you will create a simple program which will create and work with an array of strings. This array will then be populated with values, printed out to the console, and then, w ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Task arrays and structsoverviewin this task you will

Task: Arrays and Structs Overview In this task you will continue to work on the knight database to help Camelot keep track of all of their knights. We can now add a kingdom struct to help work with and manage all of the ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As