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

Windows presentation foundation, Windows Presentation Foundation Designed b...

Windows Presentation Foundation Designed by Microsoft Technologies, the Microsoft Technologies windows Display Groundwork (or WPF) is a computer-software graphic subsystem for maki

Example problem of modularity, Example problem Imagine that  you  requ...

Example problem Imagine that  you  require  to create  a robot  that  will  roll up  close to a light  lamp  and  stop  a fixed distance from it.  The first question is, how w

Design and implement a character analyser, Your task is to write an applica...

Your task is to write an application to analyse texts in a file.  Your application will employ  several kinds of text-analyser objects (which you also have to implement)  as descri

Implement the control mechanism for the robot, You must implement the contr...

You must implement the control mechanism for the robot arm so that it can safely move the blocks from the source pile to their destination, without colliding with any obstacles or

Display & list directory contents, Normal 0 false false fal...

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

Write a shell script to find the factorial of a given number, W.A.S.S to fi...

W.A.S.S to find the factorial of a given number. Program # W.A.S.S to find the factorial of a given number.    echo -e "enter number:\c"            #  \c Suppress trailing n

Write a program to draw a sketch of a cow, write a program to draw a cow. N...

write a program to draw a cow. Now, draw a cow standing amongst the grass, with (say) 500 blades of grass. Each blade of grass should be a separate random green line. Do all your d

Operating systems, list of 10 operating systems with their hardware specifi...

list of 10 operating systems with their hardware specification and also list any 5 software associated with each operating system

Statistical parametric mapping, A large offshore accommodation barge is to ...

A large offshore accommodation barge is to be converted into a floating luxury hotel.  It will be connected to a single point mooring buoy (SPM) in a beautiful inland loch where th

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