0

I try this command mkdir .done but it does not work. How does one create a hidden folder?

Lucas Kauffman
  • 16,880
  • 9
  • 58
  • 93
Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54
  • 2
    Seriously, 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 Answers2

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