LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-08-2012, 05:07 AM   #1
nap-ster
LQ Newbie
 
Registered: Jun 2012
Posts: 11

Rep: Reputation: Disabled
difference between


what is difference between " mkdir sun AND mkdir /sun "
both works for directory creation.....
 
Old 07-08-2012, 05:36 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"mkdir sun" creates a directory within the current directory.

"mkdir /sun" creates a directory in the / (root) directory
 
1 members found this post helpful.
Old 07-08-2012, 05:58 AM   #3
nap-ster
LQ Newbie
 
Registered: Jun 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
thanks

Quote:
Originally Posted by pixellany View Post
"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.......
 
Old 07-10-2012, 11:17 AM   #4
_sa_
LQ Newbie
 
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by nap-ster View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Making a Difference; Selling a Difference LXer Syndicated Linux News 0 09-23-2010 05:00 AM
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 04:26 AM
difference nagavinodh Linux - Newbie 8 04-06-2010 10:07 PM
Difference between scripttron75 Linux - Software 2 03-11-2006 10:25 AM
Difference? Jongi Linux - Newbie 4 08-22-2003 02:21 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration