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
Need help to convert a site to NationBuilder This project is to transfer the site- ( which is by now responsive HTML and is currently setup in Adobe Business Cata

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

Although the Document object's write()and writeln() methods are part of the DOM, they cannot be used to change content after a Web page has been rendered. You can write code that e

You need to create a simple application for the Note Plus book Store. The interface for the application is shown below:   REQUIRED: 1)  Create all necessary contro

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

Program for Operate the Rolodex Rolodex is a rotating file, usually used to record business contact information. Cards are inserted in alphabetic order by name. You operate th

Determine the address accessed by each of the following instruction if DS=1100H, BX=0200H, LIST=0250H AND SI=0500H-: 1) MOV LIST[SI],EDX?0250+0500+11000=11750 2

i am stuck on array part from getting response of jquery. anyone could help?

Real Distinct and 1 Double Eigenvalue with 1 Eigenvector From the real eigenvalue/vector pair, l 1 and ?h 1 , we find one solution, e l1 t ?h 1 By our work in the 2x

Write a program to display some data in bar graph form. Have at least 20 elements, which can be positive or negative; draw each element with a vertical bar, going up if the data is