Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-24-2015, 12:46 AM   #1
LQ Newbie
Registered: Dec 2015
Posts: 1

Rep: Reputation: Disabled
Question Please Help me


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..

Old 12-24-2015, 01:43 AM   #2
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, 04:03 AM   #3
Senior Member
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,014

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Expanding on what gauravprashar17 said, you could just
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.


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 > Forums > Linux Forums > Linux - Newbie

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

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