Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    novellino alle prime armi auito per ls

    Salve ragazzi, sono un novellino nei sistemi unix e avrei bsogno di qualche dritta.

    La richiesta del giorno è:

    Quale parametro devo passare a ls per avere la lista dei file di una directori, che mi elenchi il path assoluto per ognuno di essi??

    Grazie ciao..

  2. #2
    Non ho capito bene cosa intendi comunque trovi tutto sul man di ls..
    apri konsole e dai il comando "man ls"
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  3. #3
    già atto e non ho trovato quello che cercavo, forse il risultato che cerco lo si ottiene con un comando diverso.

    Faccio un esempio

    $ls -l
    -rwx------ 1 bluff users 17023592 Mar 25 13:07 OutPut.rar
    drwxr-xr-x 2 bluff users 512 Mar 25 15:58 Public
    -rwx------ 1 bluff other 151 Mar 25 13:26 User
    -rwx------ 1 bluff users 6688 Mar 22 14:54 visual

    questo è l'out io vorrei

    /export/home/bluff/OutPut.rar
    /export/home/bluff/Public
    /export/home/bluff/User
    /export/home/bluff/visual

    spero di essere stato chiaro.
    Grazie ciao

  4. #4
    non credo ci siano opzioni per ottenere solo la path

    ma se ti puo interessare ho trovato questo script che ti permette di farlo con ls -IR

    http://www.math.kobe-u.ac.jp/~kodama...2fullpath.html
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  5. #5
    usa tree
    Sotto la panza la mazza avanza.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.