LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2015, 11:46 PM   #1
muneebahmed
LQ Newbie
 
Registered: Dec 2015
Posts: 1

Rep: Reputation: Disabled
Question Please Help me


Hello!

Iam new to linux and want to start my career in linux.. As iam new to this subject i have some doubts..

1.IF we create any directory in linux terminal by using mkdir command (ubuntu terminal) can we see that directory in linux desktop. I mean in main desktop which displays with icons...

Help and valuable answers would be appriciated..

Thanks
 
Old 12-24-2015, 12:43 AM   #2
gauravprashar17
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Rep: Reputation: Disabled
Hey ,

You have to note down the path where you are actually creating the folders .
Issue a pwd command to first find where you are actually creating the folders.
If you want to create a folder on the desktop, you first need to navigate to that folder using the cd command.
Eg. if you want to create the folder in your desktop, first do a "cd /root/Desktop" and then execute the mkdir command.
Note that if you are not a root user and some other user say test, then you need to do a "cd /home/test/Desktop" and then create a folder under that directory.
After this you can see the folder / file on your desktop
 
Old 12-24-2015, 03:03 AM   #3
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 823

Rep: Reputation: 237Reputation: 237Reputation: 237
Expanding on what gauravprashar17 said, you could just
Code:
cd ~/Desktop
because in the command line the ~ symbol expands to your home directory.

N.B.: It might be worth pointing out that except for very few live distros which use the root user as the standard desktop user it is usually not recommended to actually start a graphical session as root.
 
  


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




All times are GMT -5. The time now is 08:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration