Sponsored Content
Operating Systems Linux Red Hat How to create PATH for a application? Post 302829213 by rajeshz on Thursday 4th of July 2013 08:09:22 AM
Old 07-04-2013
Quote:
Originally Posted by vidyadhar85
U mean you want to add the directory path to PATH on the linux system?

well its like

"passwd" has path /sbin/passwd

like tat.. need to path for an application
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Create Variable for a PATH

Hello all, I need to create a variable that contains a path to a program. I'd like to reference that variable later in the script to execute the program. Does anyone have any ideas how I can accomplish this? Thanks, Mark :) (2 Replies)
Discussion started by: mmignot
2 Replies

2. Solaris

create application using apache On solaris

dears iam new in solaris i install solaris on my pc can you help me in steps how can i create application using apache on solaris (3 Replies)
Discussion started by: murad.jaber
3 Replies

3. UNIX and Linux Applications

Application to create/edit chm files

Does someone knows an application to create/edit *.chm files? Any suggestion will be much appreciated! (2 Replies)
Discussion started by: agasamapetilon
2 Replies

4. UNIX for Dummies Questions & Answers

Want to create 3 different new directories under the same path

Hi, Iam new to UNIX...My requirement is to create 3 dir as an hierarchy under /var/opt/temip.The output should be /var/opt/temip/GP_Int/GPTTS/AUTO. I have tried the following script...But only GP_int folder is getting created and not other folders...Can someone help??? #!/usr/bin/ksh #script... (1 Reply)
Discussion started by: Llb
1 Replies

5. Programming

Can't create file bigger than 2GB with my application

Hi, I've created a simple application that is supposed to fill up a file with messages up to the size I pass as parameter. The problem is that once the file reaches the 2GB size, it stops growing. The flow of the application, for what is worth, is as follows: while ( bytes written <... (7 Replies)
Discussion started by: emitrax
7 Replies

6. Linux

do u know some application id that create admin id

Hi All, I got this problem with my var logs, it got failed login as admin because it doesn't exist every 15 minutes and everyday. Do you know some applications that try to create an application id as "admin"? The problem is that this is a test server, so lots of applications installed and... (2 Replies)
Discussion started by: itik
2 Replies

7. Shell Programming and Scripting

File creating in another path.. application unable to locate

I am submitting a concurrent program (of HOST tyme) from Oracle apps screen, The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies

8. Programming

unable to create phonon application on Qt

Hi I am new to QT.I am running Qt 4.7 on Fedora 9.My Application crashes with the the following statements. on execution of return app.exec(); The inferior stopped because it received a signal from the Operating System. Signal name : SIGSEGV Signal meaning :Segmentation fault:wall: ... (2 Replies)
Discussion started by: sruthihsr
2 Replies

9. Shell Programming and Scripting

a little help with find and directory path for application

Just a little backgroud, I have a library of mp3 files in the following structure: /mp3/artist/album/track.mp3 Also contained in each album directory is a cover.jpg which contains the cover art file for that particular album. I want to add the cover.jpg to the mp3 tag and have been using... (8 Replies)
Discussion started by: barrydocks
8 Replies

10. Ubuntu

Which is the best application to create recovery disk?

Hi Experts.... I am using Ubuntu 12.04 LTS 32-Bit edition on my laptop I just reinstalled OS for some reason and installed many application packages using sudo as well as by downloading, now I would like to create recovery disk so that if I reinstall OS once again, I should be able to install... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies
AMZFS-SNAPSHOT(8)					  System Administration Commands					 AMZFS-SNAPSHOT(8)

NAME
amzfs-snapshot - Amanda script to create zfs snapshot DESCRIPTION
amzfs-snapshot is an Amanda script implementing the Script API. It should not be run by users directly. It create a zfs snapshot of the filesystem where the path specified is mounted. PRE-DLE-* create a snapshot and the POST-DLE-* destroy the snapshot, *-DLE-AMCHECK, *-DLE-ESTIMATE and *-DLE-BACKUP must be set to be executed on the client: execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup execute-where client The PRE_DLE_* script output a DIRECTORY property telling where the directory is located in the snapshot. The application must be able to use the DIRECTORY property, amgtar can do it. The script is run as the amanda user, it must have the priviledge to create and destroy snapshot: zfs allow -ldu AMANDA_USER mount,snapshot,destroy FILESYSTEM Some system doesn't have "zfs allow", but you can give the Amanda backup user the rights to manipulate ZFS filesystems by using the following command: usermod -P "ZFS File System Management,ZFS Storage Management" AMANDA_USER This will require that your run zfs under pfexec, set the PFEXEC property to YES. The format of the DLE must be one of: Desciption Example ---------- ------- Mountpoint /data Arbitrary mounted dir /data/interesting_dir ZFS pool name datapool ZFS filesystem datapool/database ZFS logical volume datapool/dbvol The filesystem must be mounted. PROPERTIES
This section lists the properties that control amzfs-snapshot's functionality. See amanda-scripts(7) for information on the Script API, script configuration. DF-PATH Path to the 'df' binary, search in $PATH by default. ZFS-PATH Path to the 'zfs' binary, search in $PATH by default. PFEXEC-PATH Path to the 'pfexec' binary, search in $PATH by default. PFEXEC If "NO" (the default), pfexec is not used, if set to "YES" then pfexec is used. EXAMPLE
In this example, a dumptype is defined to use amzfs-snapshot script to create a snapshot and use amgtar to backup the snapshot. define script-tool amzfs_snapshot { comment "backup of zfs snapshot" plugin "amzfs-snapshot" execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup execute-where client #property "DF-PATH" "/usr/sbin/df" #property "ZFS-PATH" "/usr/sbin/zfs" #property "PFEXEC-PATH" "/usr/sbin/pfexec" #property "PFEXEC" "NO" } define dumptype user-zfs-amgtar { dt_amgtar script "amzfs_snapshot" } SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.3 01/10/2013 AMZFS-SNAPSHOT(8)
All times are GMT -4. The time now is 08:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy