Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, does anyone know of any parameters to be passed to the command 'ls' so that it displays the absolute pathname of each file listed ? Or alternatively, given a ...
  1. #1
    Just Joined! kvaibhav's Avatar
    Join Date
    Jul 2007
    Location
    India
    Posts
    5

    Question List absolute pathnames?

    Hi, does anyone know of any parameters to be passed to the command
    'ls' so that it displays the absolute pathname of each file listed ?

    Or alternatively, given a pathname, how can I extract its absolute location/path ?

    I have posted the same thread on Programming and Misc forum.

    Thanks in advance for the help!

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    Is this a homework question? Check the options of ls and try them out:

    Code:
    man ls
    Regards

Posting Permissions

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