LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   difference between (https://www.linuxquestions.org/questions/solaris-opensolaris-20/difference-between-4175415523/)

nap-ster 07-08-2012 05:07 AM

difference between
 
what is difference between " mkdir sun AND mkdir /sun "
both works for directory creation.....

pixellany 07-08-2012 05:36 AM

"mkdir sun" creates a directory within the current directory.

"mkdir /sun" creates a directory in the / (root) directory

nap-ster 07-08-2012 05:58 AM

thanks
 
Quote:

Originally Posted by pixellany (Post 4722062)
"mkdir sun" creates a directory within the current directory.

"mkdir /sun" creates a directory in the / (root) directory





what a silly question i have asked but thanks for reply.......

_sa_ 07-10-2012 11:17 AM

Quote:

Originally Posted by nap-ster (Post 4722054)
what is difference between " mkdir sun AND mkdir /sun "
both works for directory creation.....

Not to sound like a dick, but this is the 3rd or 4th intro to linux/unix question that I have seen you ask. It seems like you would rather have others do the work for you.

http://www.ee.surrey.ac.uk/Teaching/Unix/

FTW.


All times are GMT -5. The time now is 04:10 PM.