Try this procedure: Go to /opt: (cd /opt)
1. Run:
2. Go to first directory in the output. If first entry (or one of the top big entries is a file, then check then it was created).
3. Repeat 1 and 2 until you find your file.
I want to get the file which created the error when the find command was run ?
I am wrote a script to mail a list of files whose file size is ge than 0 and returns 0
but wen it finds a folder with only empty files it exits as 1. i need to modify it so that the return for this is also 0 (but it... (1 Reply)
Hi All,
We are copying all the files into ARCHIVE directory after we process them. We are doing this process from last 2 years, now we have a lot of files in ARCHIVE directory.
Now I need to find when the first file is copied into this directory?
If I Issue,
ls -l /ARCHIVE/*.* | tail -1... (3 Replies)
Hi All
Any one please suggest me...
I have one directory every monday one file will be created in that directory. so if the file is created on monday or not i need check first.
How can write a script??? if the file is not created i want to quit from script.
Thanks
K.Srinivas (5 Replies)
Hi All,
I'm trying to find a file which is created on current day.... I searched in unix.com and i found, below command.
find /land/ -mtime -1 -type f -print | grep "FF_Member_STG.dat"
The command checks if the file with name "FF_Member_STG.dat" is created today then exit else proceed.
... (3 Replies)
I have this situation
/u03/app/banjobs> ls -ltr icg*
82 Jun 12 10:37 iicgorldi_2419186.log
56810484 Jun 17 10:35 icgorldi_2421592.xml
2859 Jun 17 10:35 icgorldi_2421592.lis
- 125 Jun 17 10:35 icgorldi_2421592.log
82 Jun 12 10:37 iicgorldi_2419187.log
... (8 Replies)
Hi
On our AIX 7.1 server we have a file named /content/development/system.tar with ownership as root.
Many people on our Unix team has sudo access and they will be able to sudo to root user.
We want to which particular user has actually created this file.
Is it possible to find that ? Please... (7 Replies)
A process xyz is running and creating file1, file2, file3, .... filen. how do i know if the process has stopped and createtime of the last file (filen) is older than 5 minutes?
OS is AIX (3 Replies)
Discussion started by: malaika
3 Replies
LEARN ABOUT OPENSOLARIS
soladdapp
soladdapp(1M) System Administration Commands soladdapp(1M)NAME
soladdapp - add an application to the Solstice application registry
SYNOPSIS
/usr/snadm/bin/soladdapp [-r registry] -n name -i icon -e executable
[args]
DESCRIPTION
soladdapp adds an application to the Solstice application registry. After it is added, the application is displayed in the Solstice
Launcher main window (see solstice(1M)).
OPTIONS -r registry Define the full path name of the Solstice registry file.
-n name Define the name of the tool to be registered.
-i icon Define the full path name of the tool icon.
-e executable Define the full path name of the tool.
args Specify any arguments to use with the tool.
When executed without options, soladdapp uses /opt/SUNWadm/etc/.solstice_registry (the default registry path).
RETURN VALUES
0 on success
1 on failure
2 if the registry is locked
3 if the entry is a duplicate.
EXAMPLES
Example 1 A sample display of the soladdapp command.
The following adds an application called Disk Manager to the Solstice application registry for display in the Solstice Launcher main win-
dow.
# soladdapp -r /opt/SUNWadm/etc/.solstice_registry -n "Disk Manager"
-i /opt/SUNWdsk/etc/diskmgr.xpm -e /opt/SUNWdsk/bin/diskmgr
FILES
/opt/SUNWadm/etc/.solstice_registry
The default registry path.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsadml |
+-----------------------------+-----------------------------+
SEE ALSO soldelapp(1M), solstice(1M), attributes(5)NOTES
Globally registered applications are used by local and remote users sharing the software in a particular /opt directory. They can be added
only using soladdapp.
SunOS 5.11 15 Sep 1995 soladdapp(1M)