September 26, 2010

what command displays the complete home directory and subdirectories and showing all hidden and non hidden files

as you can see, there a hundred ways to tackle the same problem ... this is...

as you can see, there a hundred ways to tackle the same problem ... this is usually the case in Linux / *nix.

Here's another one:

du -h (the -h is optional, it just makes the sizes easier to read).

Like  (2 likes)

you can also use 'tree' - but in most distros its not installed by default

you can also use 'tree' - but in most distros its not installed by default

Like  (1 like)

if using the GUI then "control +h "...

if using the GUI then
"control +h "

but you might want to do some READING on the Linux basics
http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html

Like  (0 likes)

The ls command: using the -a flag to allow hidden files, and the -R command...

The ls command: using the -a flag to allow hidden files, and the -R command for recursive directories.

ls -aR /home/username/

It will be a long scroll in your terminal, you might want to save it to a file.

ls -aR /home/username/ >filename.txt

Most info like this can be obtained by using the man file. In a terminal type "man ls" and you can see all the options.

Like  (0 likes)
Click Here!