Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ls -l information?

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
debut



Joined: Tue Nov 08, 2005 6:33 pm
Posts: 3

PostPosted: Wed Nov 09, 2005 7:57 pm    Post subject: ls -l information? Reply with quote

Hello,

As a newbie:

I know that ls -l list files in a directory.Can i get a Bash script
that prints the same information as ls -l but ib a user friendly way?

Thank you.
Back to top
View user's profile Send private message
Nigel
LXF regular


Joined: Fri Apr 08, 2005 9:03 pm
Posts: 1141
Location: Gloucestershire, UK

PostPosted: Wed Nov 09, 2005 9:33 pm    Post subject: RE: ls -l information? Reply with quote

What do you mean by "user friendly" ?
What do you need to see ?
Check out the man pages for ls and see if any of the options do what you want.
Back to top
View user's profile Send private message
Lejon
LXF regular


Joined: Wed Oct 19, 2005 8:24 pm
Posts: 150
Location: Sweden

PostPosted: Thu Nov 10, 2005 3:56 pm    Post subject: RE: ls -l information? Reply with quote

try: alias ll="ls -lh"
and then type: ll
_________________
I am the one you thought I was! Just not the way, you expected...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
linuxgirlie
LXF regular


Joined: Sat Apr 09, 2005 7:34 pm
Posts: 787
Location: Kent...UK

PostPosted: Thu Nov 10, 2005 4:48 pm    Post subject: RE: ls -l information? Reply with quote

Or do you mean a graphical front end? An nice bash one is Xdialog, we use that with Karoshi...
_________________
My knowledge comes with no warranty...........

Server operating system designed for schools:www.linuxschools.com
Back to top
View user's profile Send private message Send e-mail
ollie
Moderator


Joined: Mon Jul 25, 2005 12:26 pm
Posts: 2749
Location: Bathurst NSW Australia

PostPosted: Sun Nov 13, 2005 7:06 am    Post subject: RE: ls -l information? Reply with quote

Also try "ls -la --color=always" this will colour code the results. Try "ls --help" for all the options.

Note: There are 2 dashes - with no gap in front of help and color, also note the "American" spelling of colour.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast