Hidden Files Command
Hi Everyone,
What is the command please to show and hide hidden files by default? System wide command please.
Command to show
Command to hide
As i have allot of .files showing by default and would like to hide them please. I am aware this will also affect the .htaccess but they can do that manually right? Also if i hide the .htaccess file it will not affect any plugins or scripts that use them?
Thanks
Rockforduk
-
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 -
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 -
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.
Comments
3 comments