Programs for shell scripts, Programming Languages

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.

 

Posted Date: 4/2/2013 3:43:33 AM | Location : United States







Related Discussions:- Programs for shell scripts, Assignment Help, Ask Question on Programs for shell scripts, Get Answer, Expert's Help, Programs for shell scripts Discussions

Write discussion on Programs for shell scripts
Your posts are moderated
Related Questions
Characteristics of procedure-oriented programming: Emphasis is on doing things (algorithms). Large programs are divided into smaller programs known as functions.

This assignment is divided into two parts. The goal is to write a Java program that calculates capital gain on a stock market, see Lab 7. When a share of common stock of some co

program for pyramid in shell script

The fancy new French restaurant La Food is very popular for its authentic cuisine and high prices. This restaurant does not take reservations. To help improve the efficiency of t

Oracle 11G Reports We are troubleshooting the pagination of Oracle reports when printed from a browser. We need help determining the issue and correcting within the report ou

Hi, Can you do exercises: D2, D3, D4, and D5 on page 230 of the following book: http://www.daimi.au.dk/~bra8130/Wiley_book/wiley.html . The book can be downloaded for free from t


Perform Dbscan Clustering and K means I have a simple array of data. I need to perform dbscan clustering and k means based on the values in the array.detailed description  bel

Given a list of numbers, say my @input_numbers = (1, 1, 3, 5, 8, 13, 21, 34, 55, 89, 144); write a program map1.pl that will use the function map (a) to produce a list of

Design an object definition 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 anima