10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have the following code which was supposed to clean up a directory when the number of files in that directory exeeded 2.The code is given below.
#!/usr/bin/ksh
dir_num=`/usr/bin/find /var/.audit -type d | /usr/bin/wc -l`
if
then
oldest_file=`/usr/bin/ls -1t | /usr/bin/tail... (19 Replies)
Discussion started by: chacko193
19 Replies
2. Solaris
what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os
please can any one respond quickly
thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies
3. Solaris
I recently upgraded my OS to Solaris 10 10/09 from Solaris 10 06/06 using Live Upgrade. I wanted to clean up space in /var/sadm/patch. I'm assuming the server is now clean with a fresh version of Solaris 10 10/09. Can I safely remove everything in /var/sadm/patch?
Thanks,
jeremy (0 Replies)
Discussion started by: griff11
0 Replies
4. Solaris
Hello, I recently found that my /var/sadm/install/contents, ~/admin/default, /var/spool/patch and /var/spool/pkg files were empty.
This broke the pkginfo, pkgchk and other package related tools.
The pkgmap no longer points to where the applications have been installed.
I have replaced the... (0 Replies)
Discussion started by: ronin42
0 Replies
5. Solaris
Hi,
What are the contents of /var/sadm/pkg/<pkg>/save directory.
- It contains various patches with their id's.
What does the "pspool" directory inside it contain? (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
6. Shell Programming and Scripting
Hello everyone....
I am trying to dinamically create variable names and do resolution of this vars contents.
After that is done I want to use (via a function call) the var and its contents by referring to it via the variable name.
I am having a hard time achieving this .... can you help ?
... (5 Replies)
Discussion started by: gio001
5 Replies
7. Solaris
Hi Guys,
I have an user's home directory set to /home/A
And A contains the following directories B & C
Is there some way in solaris by which i can prevent the directories B and C from getting deleted by the user but the contents of the directories B & C can be deleted ?
Also i have... (2 Replies)
Discussion started by: localhost
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I carelessly remove the contents of /var/sadm/pkg. I do not have any backup of the folder. What can I do ? Thanks a lot. :eek: (11 Replies)
Discussion started by: stancwong
11 Replies
9. UNIX for Dummies Questions & Answers
I am on a HP-UX 11.0 machine and I deleted '/var/adm/sw/patch'. I realize now what a mistake this was. Since doing this I can no longer export display to remotely view netscape. At this point, what are my options for recovering the 'patch' directory? I don't have a backup.
Any help would... (0 Replies)
Discussion started by: lucesean
0 Replies
10. UNIX for Dummies Questions & Answers
Hi,
can I delete the file install in /var/sadm directory because I do not need.
Regard
TDS (1 Reply)
Discussion started by: tinfoul
1 Replies