07-04-2013
How to create PATH for a application?
hi
every one
In linux, how to create a PATH for a application ?
i searched, but no positive response
any one like me got stuck with this problem?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT SUSE
sg_reset
SG_RESET(8) SG3_UTILS SG_RESET(8)
NAME
sg_reset - sends SCSI device, bus or host reset; or checks reset state
SYNOPSIS
sg_reset [-b] [-d] [-h] [-V] DEVICE
DESCRIPTION
The sg_reset utility with no options (other than DEVICE) reports on the reset state (e.g. if a reset is underway) of DEVICE. When given a
-d, -b, or -h option it requests a device, bus or host reset respectively.
In the linux kernel 2.6 series this utility can be called on sd, sr (cd/dvd), st or sg device nodes; if the user has appropriate permis-
sions.
In the linux kernel 2.4 series support for this utility first appeared in lk 2.4.19 and could only be called on sg device nodes. Various
vendors made this capability available in their kernels prior to lk 2.4.19.
OPTIONS
-b attempt a SCSI bus reset. This would normally be tried if the device reset (i.e. option -d) was not successful.
-d attempt a SCSI device reset. If the device seems stuck, this is the first reset that should be tried. This assumes the linux scsi
mid level error handler is not already in the process of resetting DEVICE.
-h attempt a host adapter reset. This would normally be tried if both device reset (i.e. option -d) and bus reset (i.e. option -b) were
not successful.
-V prints the version string then exits.
NOTES
The error recovery code within the linux kernel when faced with SCSI commands timing out and no response from the device (LU), first tries
a device reset and if that is not successful tries a bus reset. If that is not successful it tries a host reset. Users of this utility
should check whether such a recovery is already underway before trying to reset with this utility. The "device,bus,host" order is also rec-
ommended (i.e. first start with the smallest hammer).
SAM-4 defines a hard reset (which includes a device power on and a transport reset), a logical unit reset and a I_T nexus reset. A LU reset
and an I_T nexus reset can be requested via task management function (and support for LU reset is mandatory). In Linux the SCSI subsystem
leaves it up to the low level drivers as to whether a "device reset" is only for the addressed LU or all the LUs in the device that con-
tains the addressed LU. The "bus reset" is a transport reset. A "host reset" attempts to re-initialize the HBA that the request passes
through on route to the DEVICE. Obviously a "host reset" and a "bus reset" can cause collateral damage.
This utility does not allow individual SCSI commands (or tasks as they are called in SAM-4) to be aborted. SAM-4 defines ABORT TASK and
ABORT TASK SET task management functions for that.
AUTHORS
Written by Douglas Gilbert.
COPYRIGHT
Copyright (C) 1999-2006 Douglas Gilbert
This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
sg3_utils-1.23 December 2006 SG_RESET(8)