hi all
i want to list an archive with his link only
i use ls -l and appear a list whit all information about file. how can i quit all less name and link?
pipe the output of "ls -l" to awk to print only the fields you need.
For example: ls -l | awk '{print $1" "$NF}'
will print only the permissions (1st field) and the file name (NF == last field)