Pergunta

.htacess files not visible in Red Hat Linux Server V6.1

Is there any option to make it visible. (Similar to "show hidden files" in windows)

As I'm totally new to Linux any guidance/suggestions will be highly helpful.

PS: Not only .htaccess files. All files starting with "." are not displaying.

Foi útil?

Solução

In Linux everything that start with a . is hidden.

So to access that...

In terminal use ls -la

amit@tapas:~/temp/time$ ls
amit@tapas:~/temp/time$ touch .somefile
amit@tapas:~/temp/time$ touch anotherfile
amit@tapas:~/temp/time$ ls
anotherfile
amit@tapas:~/temp/time$ ls -la
total 8
drwxrwxr-x  2 amit amit 4096 May 13 18:14 .
drwxr-xr-x 15 amit amit 4096 May  7 18:05 ..
-rw-rw-r--  1 amit amit    0 May 13 18:14 anotherfile
-rw-rw-r--  1 amit amit    0 May 13 18:14 .somefile
amit@tapas:~/temp/time$ 

In GUI like nautilus,you can hit cntrl + h to show hidden files

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top