Words of Wisdom:

"The public will believe anything, so long as it is not founded on truth." - Longvh

Veritas

  • Date Submitted: 08/06/2011 08:35 AM
  • Flesch-Kincaid Score: 23.9 
  • Words: 768
  • Essay Grade: no grades
  • Report this Essay
Solaris 10

# ls -lh
Displays the size of the file or directory with human readable format
# ls -t
Displays the files and directory based on the time stamp.
# mkdir
to create a directory
syn: # mkdir
eg: # mkdir jai
syn: # mkdir -p
Sun Solaris 10 Operating System Page 5 of 145
Sun Solaris 10 OS/Storage-SVM,VxVM/Cluster Manickam Kamalakkannan
eg: # mkdir -p /ims/solaris/delhi
It creates the parent directory /ims/solaris along with the directory delhi.
# cat - to view the contents of the file, create a file, appending the contents to the file
syn: # cat
eg: # cat > hai
will create the file named hai in the current directory
syn: # cat
eg: # cat /ims/solaris/delhi/new
will create a file named new under the above mentioned location.
syn: # cat >>
eg: # cat >> hai
# cat >> /ims/solaris/delhi/new
To append the contents to the file
syn: # cat
eg: # cat hai
To view the contents of the file
# cat -n
will display the contents of the line with line number (only temp)
# cat -n >
eg: # cat -n > jack
will create a new file named "jack" along with the line number
# cd - to chage the directory
eg: # cd /ims/solaris
will move to the location /ims/solaris
# echo $SHELL
To know the parent shell of the user
# echo $?
will say the status of the exection of the command
# clear
to clear the screen
NOTE:
In BASH shell:
ctrl+l = to clear the screen
Sun Solaris 10 Operating System Page 6 of 145
Sun Solaris 10 OS/Storage-SVM,VxVM/Cluster Manickam Kamalakkannan
# ls -a
will display all the files and directories along with hidden file &
dir
# ls -R
to see the contents of dir along with its sub-dir and files
R - recurrsive
# date
To view the date and time
# cal
will display the current month of the current year
# cal 2009
will display the cal of 2009
# cal 14 1987
will display the 10th month of 1987
# hostname
To view the name of the host
SYN: # hostname
eg: # hostname sun
will assign the hostname as sun, but temp.
#...

Comments

Express your owns thoughts and ideas on this essay by writing a grade and/or critique.

  1. No comments