Skip to main content

Hidden Files Command

Comments

3 comments

  • 24x7server
    Hi, Please note, when a dot is added in front of any file, it is considered as hidden and not visible with simple ls -l command. Below command will list all the files and folders inside a directory including hidden directories.. # cd # ls -la Below command will list all the files and folders inside a directory not the hidden directories.. # cd # ls -l
    0
  • Rockforduk
    Hi there, Thankyou for your reply so how to i hide the hidden files server wide? As when you login via FTP it shows and awful lot of hidden files and i would like to hide them all for all users?
    0
  • cPanelMichael
    Thankyou for your reply so how to i hide the hidden files server wide? As when you login via FTP it shows and awful lot of hidden files and i would like to hide them all for all users?

    Hello, You can adjust the following Pure-FTPd configuration settings: # List dot-files even when the client doesn't send "-a". DisplayDotFiles yes # Users can't delete/write files beginning with a dot ('.') # even if they own them. If TrustedGID is enabled, this group # will have access to dot-files, though. ProhibitDotFilesWrite no # Prohibit *reading* of files beginning with a dot (.history, .ssh...) ProhibitDotFilesRead no
    An example of how to modify the Pure-FTPd configuration values is available on the document below:
    0

Please sign in to leave a comment.