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
Redundant sequence identification: Given a set of k DNA sequences, S = { s 1, s 2, ... ,  s k } give an optimal algorithm to identify all sequences that are completely contained

1.  Use mathematical induction to prove Whenever n is a positive integer. 2.  Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.

Can you provide help in solving error problems, with my matlab project?

The purpose of the HB Programming test is to assess whether a candidate has sufficient knowledge to join our team here and beyond that where they would fit within our teams. The

Write out the Syntax of Nested if Statements? The universal form is                         If(expression 1)                         {

Educational Objectives: After completing this assignment, the student should be able to accomplish the following: Apply generic algorithms in solving programming problems Define an

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

1. Write out a detailed plan for a program to find the largest value in an array that is smaller than a ceiling C. For example, suppose the array has the values {4, 14, 11, 100, 6}

how do u define a letter in python "NameError: name ''r'' is not defined"

Triple Eigenvalue with 1 Eigenvector The eigenvalue/vector pair in this case are l and  ?h , . Since the eigenvalue is real we know as the first solution we require is, e l