Announcement

Collapse
No announcement yet.

Using "ls"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using "ls"

    Hey everyone - I'm a total newbie to Linux. I just installed Kubuntu and everything is working now..

    Now im just playing around with things. This is what I need to do:

    I need to 'somehow' get the output of every file in my home directory to look like this:

    Name - Accessed Date - Modified Date - Size - Permissions - File Type


    How do I do this? Also - How do I mount my flash drive so I can bring that output to windows?

    Thanks! I need the answer asap!

    ~Iceblister

    #2
    Re: Using "ls"

    Originally posted by iceblister
    Hey everyone - I'm a total newbie to Linux. I just installed Kubuntu and everything is working now..

    Now im just playing around with things. This is what I need to do:

    I need to 'somehow' get the output of every file in my home directory to look like this:

    Name - Accessed Date - Modified Date - Size - Permissions - File Type

    How do I do this?
    Does the format have to be exactly like that? If you just want the information, and don't really care about the order, the command you're looking for is ls -l (long listing). ls -lh could be even better, as it will write the size of files in a "human readable" format (MB, GB, etc.) If you want more info about ls, just read the manual: man ls.

    Also - How do I mount my flash drive so I can bring that output to windows?
    Not sure about the exact synatax, as I don't have a flash drive, but read the manual page for the mount command (man mount) .

    Comment


      #3
      Re: Using "ls"

      Code:
      ls -allh
      or

      Code:
      ls -h -all
      <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

      Comment

      Working...
      X