0% found this document useful (0 votes)
35 views2 pages

Cmnds

This document provides a list of handy Solaris commands and their brief descriptions, organized by subject. It includes commands for checking file systems, manipulating processes, getting system information, managing users and permissions, comparing files, and networking tasks like NFS administration. The document was last updated in February 2003.

Uploaded by

palasreedhar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Cmnds

This document provides a list of handy Solaris commands and their brief descriptions, organized by subject. It includes commands for checking file systems, manipulating processes, getting system information, managing users and permissions, comparing files, and networking tasks like NFS administration. The document was last updated in February 2003.

Uploaded by

palasreedhar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

home about sundot unix downloads archivesda te archivessu bject external links

unix consulting in the uk. real life unix observations and tips. sundot/ unix/ handy commands

Some handy Solaris commands just a reference to useful options and commands.
set path to something like
PATH=/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin:/usr/platform/`unam e i`/sbin:/usr/proc/bin:/usr/ucb/:/usr/dt/bin:/usr/openwin/bin:/ usr/local/bin:$HOME/bin

df -n fuser

(or fstyp device) and pfiles

show type of file system (ufs/vxfs) open files OBP level process info and manipulation local users without passwords | duplicate uids processor information and more since Solaris 7 print old style man pages print sgml (new) man pages list superblock including minfree % nice screen output information about binaries insert control character

prtconf -V pgrep, pkill, prstat -a logins -p|-d mpstat, prtdiag, psrinfo -v traceroute troff -man man.1 | dpost | lp sgml2roff lpfilter.1m | troff -man | dpost | lp fstyp -v tput what, ldd, strings ctrl-V

in vi

ftp> get README | more ufsdump 0f - /filesystem | (cd /mnt; ufsrestore rf -); rm /mnt/restoresymtable echo \007 comm pkgchk -lp /usr/bin/ls df -oi -F ufs

dump restore pipe get bell to ring common (non-common) lines from two files which package does ls belong to? free inodes

icheck -b blockno filesystem dircmp, rsync, filesync nohup /var/tmp/myscript.ksh > /var/tmp/myscript.out & netstat -pn pwdx, pldd, ptree uname -X read listusers tcopy nfsstat -m

block to file mapping compare directories, sync utilities for things which have to complete (no risk of terminal being logged out) arp like output when name services are down and more in /usr/proc/bin basic system information one item on each line (useful for scripts) read a line another way of listing users copy tape

(or check /etc/rmtab)

current nfs mount clear nfs locks since Solaris 9 - output in powers of 1024
waiting waiting waiting waiting waiting

clear_locks df -h, du -h, ls -lh odin#rpcinfo -u localhost mountd program 100005 version 1 ready and program 100005 version 2 ready and program 100005 version 3 ready and odin# rpcinfo -u localhost nfs program 100003 version 2 ready and program 100003 version 3 ready and odin#

updated: 20030206 created: 20021218

All content on this website is governed by a Creative Commons license.

You might also like