Miscellaneous Solaris Notes

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 19:14, 27 June 2007 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1.) Show inode usage:

df -F ufs -o i

2.) find all sub directories under .... with tmp as name

find /opt/apps/catalog/catalogs -type d -name tmp

3.) show list of available packages for the system

pkg-get -D

4.) install the vim package on the system

pkg-get -i vim

5.) where do packages go?

/opt/csw

6.) recursive grep on solaris, search all files for a string

find . -type f -print | xargs grep -il 'string'