LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-27-2012, 01:05 PM   #1
stevo520
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
Directory Issue


I thought I created a directory called "Saved"

I was pretty sure I did it with 'mkdir Saved' and then I saw it was there and proceeded to move several files into it with 'mv filename directoryname'

Now when I try to put in 'cd Saved' it says no such directory, but when I try to recreate it with 'mkdir Saved' it says it is already there? ALSO, it is not BLUE in color such as other working directories are?

I was experimenting with 'touch' around that time and may have created the directory with 'touch Saved' but I do not think so, not impossible however.
 
Old 06-27-2012, 01:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just run "ls -l" and show us the output if it's not clear to you.
 
Old 06-27-2012, 01:22 PM   #3
stevo520
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
-rw-rw-r-- 1 UpsonS UpsonS 177 June 27 11:49 Saved

I don't see the typical dr in front, so did I do it with 'touch'? Anyway to recover what was moved to Saved?
 
Old 06-27-2012, 02:03 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try cd /home/user-name/Saved
change user-name to actual users name
 
Old 06-27-2012, 09:14 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Code:
-rw-rw-r-- 1 UpsonS UpsonS 177 June 27 11:49 Saved
Note the first '-', which denotes the type. A '-' means a regular file, a dir has 'd' and so on eg http://bashshell.net/file-permission...ux-file-types/.
You can also use the 'file' cmd http://linux.die.net/man/1/file to check acual type.
 
1 members found this post helpful.
  


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
[SOLVED] chmod directory issue Fritz_Doll Linux - Newbie 10 02-07-2011 10:38 AM
vsftpd directory listing issue BYoungTGS Linux - Server 3 06-13-2010 07:30 AM
Strange directory issue elektronaut Linux - Newbie 3 12-12-2006 03:41 AM
*different* home directory issue syreth Solaris / OpenSolaris 17 05-30-2005 06:02 AM
Directory security issue malcie Linux - Newbie 4 07-18-2003 07:10 AM

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

All times are GMT -5. The time now is 02:55 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
Open Source Consulting | Domain Registration