English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know one is ls -a, what is the other command to list the hidden file in Unix?

many thk

2007-07-01 15:01:04 · 5 answers · asked by Anonymous in Computers & Internet Computer Networking

5 answers

There are plenty of variations of "ls" which will work.
One is to simply specify the "." files, and then throw
in the "-d" option so that you don't get a listing of
files in the parent directory (because of ".."):

ls -d .*

Similarly, though, you can list all "hidden" files with
a simple "echo" command using the same idea:

echo .*

2007-07-05 14:36:44 · answer #1 · answered by Anonymous · 0 0

I don't know of another COMMAND, but the capital A option will also list hidden files in ls ( "ls -A" ). Unlike the lowercase option it does not list the directory "names" "." and ".."

2007-07-01 15:42:04 · answer #2 · answered by parodister 3 · 0 0

This may work for you as well:

find . -print

Of course, that will list all files from current directory and below.

2007-07-02 03:17:22 · answer #3 · answered by SteveN 7 · 0 0

ls -la should "list all"

ls --help should return you a list of all extenstions for ls

2007-07-01 15:30:11 · answer #4 · answered by Tracy L 7 · 0 0

try ll

2007-07-01 21:01:12 · answer #5 · answered by linenthu 2 · 0 0

fedest.com, questions and answers