Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hidden Files Command

Discussion in 'General Discussion' started by Rockforduk, Jun 25, 2017.

  1. Rockforduk

    Rockforduk Member

    Joined:
    May 5, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    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
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,789
    Likes Received:
    83
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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 <Directory>
    # ls -la

    Below command will list all the files and folders inside a directory not the hidden directories..
    # cd <Directory>
    # ls -l
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Rockforduk

    Rockforduk Member

    Joined:
    May 5, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    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?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can adjust the following Pure-FTPd configuration settings:

    Information on how to modify the Pure-FTPd configuration is available at:

    FTP FAQ - Documentation - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice