Session 1
October 22, 2009 at 5:13 pm Leave a comment
First Steps TO Learn Solaris Commands
This is my first blog to share my ideas and method of learning.I hope it could be useful and share your thought…
Have an nice moment for Every Second
In these Section we discusses about Soft Link & Hard Link
* link means to linking some thing (or) relationship
* changes made in one file it reflects in another file.
* Two types normally
1.Soft link —————–> Different Inode Number. .eg Inode (30021) any number depending upon the system maping
2.Hard link—————>Same Inode .
Command Need to Look Up:
ls—–> list all the parameters include user,type of file,permission,Inode………
ls -lia—-> list in detail
ln—–>link
usage:
Soft link:
bash> ln -s < old file> <new file>
-s denotes soft link
<old file> already present file
<new file> point to new file right now create by u.
Example :
bash> ln -s first second
* If the first file is deleted second file also deleted by OS it self.
Hard link:
bash> ln first second
*if the first file is deleted the second file not deleted …..
I hope useful ……
and work side by side…
Solaris Lover
Entry filed under: solaris.
Trackback this post | Subscribe to the comments via RSS Feed