Results 1 to 3 of 3
I'm trying to format the output of ls -l, any help is appreciated
[david@barca boot]$ ls
efi
grub
david@barca boot]$ cd efi/
[david@barca efi]# ls
EFI
[david@barca efi]# cd ../grub
...
- 02-25-2011 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 58
ls -l
I'm trying to format the output of ls -l, any help is appreciated
now to long list files in each directory using one line:[david@barca boot]$ ls
efi
grub
david@barca boot]$ cd efi/
[david@barca efi]# ls
EFI
[david@barca efi]# cd ../grub
[david@barca grub]# ls
device.map
How can I format the output of ls to get it all in single lines:[david@barca boot]$ ls -l *
efi:
total 2
drwxr-xr-x. 3 root root 1024 May 13 2010 EFI
grub:
total 319
-rw-r--r--. 1 root root 70 Oct 26 17:12 device.map
Any thoughts?drwxr-xr-x. 3 root root 1024 May 13 2010 efi/EFI
-rw-r--r--. 1 root root 70 Oct 26 17:12 grub/device.map
- 02-25-2011 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 658
Does that do what you need?Code:find -ls
Let us know how you get on.To be good, you must first be bad. "Newbie" is a rank, not a slight.
- 02-26-2011 #3
Hi!
Is this what you are trying to do?
Code:$ cd / $ ls -la
nujinini
Linux User #489667


Reply With Quote