I try this command mkdir .done
but it does not work. How does one create a hidden folder?
Asked
Active
Viewed 1,365 times
0

Lucas Kauffman
- 16,880
- 9
- 58
- 93

Mohammad AL-Rawabdeh
- 1,612
- 12
- 33
- 54
-
2Seriously, if you want help you're going to have to put minimal effort into writing a question that we can understand and help you with; including whatever error code you're getting, or what is/isn't happening. – Chris S Dec 28 '10 at 14:46
2 Answers
4
What is the output of alias ls
? It sounds like the folder is being created but you expect it to be hidden when you do a ls
. Perhaps your ls
is aliased to ls -a
?

Russ
- 271
- 1
- 3
-
I've seen this behaviour whilst logged in as root. Switching user to another account and running 'ls' again will show the new directory as hidden. – Don Draper Mar 03 '17 at 21:43
2
That syntax works just fine for me on AIX 5.3; why don't you tell us what error you got when you tried? Or, are you sure that you typed ls -a
to verify that it was there afterwards? If you just typed ls
it won't show because it's hidden.

mfinni
- 36,144
- 4
- 53
- 86
-
it doesen't creat heddin folder when i write `ls` the result is .done normaly `mkdir .done` can not creat hidden folder – Mohammad AL-Rawabdeh Dec 28 '10 at 14:36
-
3Please edit your response to fix the spelling and grammar; I have no idea what you're saying. – mfinni Dec 28 '10 at 14:41