Not visible hidden folder


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Not visible hidden folder
# 1  
Old 08-22-2012
Not visible hidden folder

Hi,

In one folder there is a hidden folder. Whenever i do any
Code:
 ls -a

i can't see the folder. However i can get into the folder by
Code:
cd .foldername

.
Would you please help me to identify what is the problem here.
# 2  
Old 08-22-2012
As usual, it may OS specific but you dont mention your OS nor ist version nor the shell you use...
# 3  
Old 08-22-2012
vbe,
OS and version: Linux hn747c3n14 2.4.21-47.0.1.ELhugemem #1 SMP Fri Oct 13 17:48:02 EDT 2006 i686
Shell: ksh
# 4  
Old 08-22-2012
Are you using a special file manager? (e.g. Nautilus...)
what does
Code:
 ls -ald .foldername

return?
This User Gave Thanks to vbe For This Post:
# 5  
Old 08-22-2012
no i didnt use any file manager..i just use putty..
Code:
ls -ald .foldername

works fine, but how can i see that hidden file if i didnt know the foldername...
i tried
Code:
ls -ald

and didnt get the folder..
# 6  
Old 08-22-2012
Is .foldername a remote directory that's automounted just when accessed?

---- EDIT ----
Sorry, I read now the last messages: if ls -ald .foldername always works, I obviously missed it.
--
Bye
# 7  
Old 08-22-2012
This seems quite normal to me. We must assume that you are not logged in as root.

If you want to see all "hidden" files and directories:
Code:
ls -ald .??*


Btw:
Code:
ls -lad

Will not display anything useful because it has no file list to process.
This User Gave Thanks to methyl For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync - how to copy hidden folder or hidden files when using full path

Hello. I use this command : rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command. And no full source directories are in use, only some files. Source example... (2 Replies)
Discussion started by: jcdole
2 Replies

2. Solaris

Groups is not visible

OS : SunOS 5.8 I am trying to add a user ad3059 to the following groups, A B C D ( four groups A,B,C,D) When i use usermod command and add the user to the above groups, and go to > groups ad3059 other C D It doesnt show A and B groups and shows it as other.Please advice on how... (13 Replies)
Discussion started by: Revathi2089
13 Replies

3. UNIX for Dummies Questions & Answers

List all directories hidden or not hidden

I want to list all directories hidden or not hidden. ls -ld */ => shows only not hidden directories so i guess the answer would be to add the a option to show all files ls -lad */ => not working :confused: ls -la | grep "^d" => works But I would like to know why I can't use ls -lad... (4 Replies)
Discussion started by: servus
4 Replies

4. Solaris

folder not visible in ls -l

Hi, I have a strange problem. when i do ls i see a folder, say 'abc', but it disappears when i do ls -l. I cannot access or mv that folder. Solaris 10 (SPARC) doesn't allow me to create a new folder with the same name, as it already exists. 'file' command also doesn't recognize i 'abc'... (10 Replies)
Discussion started by: Mack1982
10 Replies

5. Web Development

images are not visible

hi, why my uploaded images are not visible both in front-end and back-end of my CMS ? See the picture: http://dl-client.getdropbox.com/u/72686/noPics.png I checked the GD library in php. It seems ok... http://dl.getdropbox.com/u/72686/GD.png thanks ---------- Post updated at... (0 Replies)
Discussion started by: aneuryzma
0 Replies

6. Shell Programming and Scripting

Finding Hidden files and protecting the folder containing hidden files from deletion

Hi. I have a script which is deleting files with a particular extension and older than 45 days.The code is: find <path> -name "<filename_pattern>" -mtime +45 -exec rm {} \; But the problem is that some important files are also getting deleted.To prevent this I have decide to make a dummy... (4 Replies)
Discussion started by: pochaw
4 Replies

7. Shell Programming and Scripting

Why are the xml tags not visible?

Could some one please tell me why, when I run the following php code: <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <?php $readfile = file("rss_file.xml"); for ($k=0; $k<=count($readfile)-1; $k++) { echo "$readfile<br>"; } </BODY> </HTML> the tags do not appear in... (1 Reply)
Discussion started by: photon
1 Replies

8. UNIX for Dummies Questions & Answers

how to copy hidden files from one folder to another

dear all, i want to copy all files in my home dir to another. from my home dir i have given ls -la then some hidden files are there with dot . .. and i also want to copy all dirs in my home as it is . because iam upgrading the system how to copy all files and dirs in my home dir... (1 Reply)
Discussion started by: rajan_ka1
1 Replies
Login or Register to Ask a Question