Linux.com

Home Learn Linux Linux Answers Internet what command displays the complete home directory and subdirectories and showing all hidden and non hidden files
Answers
  • 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.

    Answered by Goineasy9
    4 years ago
    0 0
  • 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

    Answered by JohnVV
    4 years ago
    0 0
  • you can also use 'tree' - but in most distros its not installed by default

    Answered by dagon
    4 years ago
    0 0
  • 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).

    Answered by gomer
    4 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Internet

Upcoming Linux Foundation Courses

  1. LFD411 Embedded Linux Development
    25 Aug » 29 Aug - Santa Clara, CA
    Details
  2. LFS422 High Availability Linux Architecture
    08 Sep » 11 Sep - Raleigh, NC
    Details
  3. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board