Programs for shell scripts, Programming Languages

Assignment Help:

1. Write a bash shell script which searches through your folders for files with the extension *.tex, and then interactively deletes the corresponding *.aux, *.dvi and *.log files (i.e. asks the user whether or not to delete the files). You will need to use the find command, and first write and compile some LATEX _les. If you are not doing the LATEX module, download the example file from the resources directory for this module and see the instructions in that directory.

2. Write a bash shell function which removes duplicate copies of directories from your PATH environment variable. You will need to use the the awk command, and write some for and if constructs. Execute this function in your :profile file.

3. Write a make file which compiles the program cavity. The Fortran files required to do this are contained in the archive parallel.tgz, which is on the MUSO website. To unpack this file use:

$ tar xvfz parallel.tgz then read the file README. Your make file should also include targets which commit and checkout the text files from your svn repository, archive the text files into a :tgz file, and cleans the directory (remove all the executable, :o and :mod files).

4. Write a bash script which runs an executable file in the background, directs the output and error to log files, keeps it running when you logout and mails you when the job is finished. This is useful for long jobs. You will need to use the mail, nohup and nice commands. The input for the script should be the name of the executable file.

 


Related Discussions:- Programs for shell scripts

Explain the various tools for software implementation, Problem 1. What ...

Problem 1. What are the potential advantages of treating two related classes as subclasses of some superclass? 2. Explain the various tools for software implementation 3.

Selection structure, Name : Jaya Malathy IC No : 99011460923 Quiz 1 : 20....

Name : Jaya Malathy IC No : 99011460923 Quiz 1 : 20.5 Quiz 2 : 22.5 Quiz 3 40.5 Total marks = 83.5 Name IC No Quiz1 Quiz2 Quiz3 Grade --- ---- ---- ---- ---- ---- Jaya 990

Network security, Term project (you should code a function), demonstrate it...

Term project (you should code a function), demonstrate it to the class and a very breief report (one or two pages) describing what you did. You determine your project (could be imp

Shell script for to change & display system prompt and path, Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Java, program take integer from user and print in alphabets

program take integer from user and print in alphabets

C++, Have the user input two values. Store them in variables called saving...

Have the user input two values. Store them in variables called savings and expenses, both of data type double. If expenses is less than savings, subtract expenses from savings, o

Shell script convert the given amount into words, Normal 0 fals...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Django template, i''ve a problem with rendering a page with django template...

i''ve a problem with rendering a page with django templates

Calculating percentage differences-circuit diagram, In the procedure sectio...

In the procedure section, it is important to have a clear circuit diagram with component values and a brief, but accurate description of each step taken. 1. Tables for both the

Data modelling-use case diagram and sequence diagram, On-line fair and ethi...

On-line fair and ethical share trading system (Olfest) A system is required that allows on-line customers to buy and sell stock market shares in a selection of companies. B

Write Your Message!

Captcha
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