LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-10-2011, 09:13 AM   #1
noteleks
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
Changing directory


I know that is a newbie question and I should have been able to figure it out by looking it up, but I don't seem to be able too. I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

pwd and it gives me /home/me
I try cd Desktop says that there is no such directory.
I tried /home/me/Desktop same thing.

What am I doing wrong? Thank you.
 
Old 03-10-2011, 09:16 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
post the output of

Code:
ls -al
in your home directory
 
Old 03-10-2011, 09:17 AM   #3
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
do 'ls' or 'ls -la' to list the directories.

If you've the command 'tree' installed, write 'tree'.
 
Old 03-10-2011, 09:25 AM   #4
siranjeevi
Member
 
Registered: May 2010
Location: India
Posts: 79

Rep: Reputation: 7
Hi,


Try using the following command

Quote:
locate Desktop
You will get the absolute path to your Desktop folder, and then cd to that path.
 
Old 03-10-2011, 09:28 AM   #5
noteleks
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you to all of you. I learned something there. Boy, sure do like LINUX much better than Windows too bad we have to use windows at work. But then again we would all be lost.
 
Old 03-10-2011, 09:51 AM   #6
siranjeevi
Member
 
Registered: May 2010
Location: India
Posts: 79

Rep: Reputation: 7
Yeah,

Because the availability of softwares in windows makes the difference. Hope linux will also get all the softwares developed for windows soon.
 
  


Reply



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
Changing the password of Directory Manager in Redhat Directory Services sudarshan.bisht Linux - Server 2 11-19-2013 04:33 AM
Changing Directory Permission tendonut Linux - Software 1 08-19-2007 07:57 PM
Changing the home directory kyleinc Linux - General 2 02-26-2005 11:54 PM
Changing the name of the directory I am in fieldmethods Linux - General 4 01-08-2004 04:07 PM
Changing directory pdstatha Programming 1 04-11-2002 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 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