Results 1 to 3 of 3

Thread: Linux equivalent command?

  1. #1
    Join Date
    Jun 2013
    Beans
    2

    Linux equivalent command?

    G'day, in the world of the 'other OS' (Win/DOS) I frequently used this command line (run from the desired folder directory):

    tree /f /a >c:\test.txt

    This produced a text file containing a folder+file list of the contents of an drive or folder.

    Is there a simple equivalent terminal command in linux that would do the same thing?

    Thank you.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Linux equivalent command?

    Code:
    tree -f -a > test.txt
    I can't remember if the tree program is installed by default. If you don't have it it can be installed by doing...
    Code:
    sudo apt-get install tree
    Cheesemill

  3. #3
    Join Date
    Jun 2013
    Beans
    2

    Re: Linux equivalent command?

    Thank you. Works well.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •