Active Topics

 


Reply
Thread Tools
Posts: 21 | Thanked: 16 times | Joined on Feb 2010
#1
Hello all,

When doing a "ls -l" on the x-terminal, the width of the displayed list is too large, even for small filenames. Is there a way to change the width, or the tab length, or to remove some columns?

I'm under the impression the options I need are not on Maemo 5...
 
Posts: 433 | Thanked: 274 times | Joined on Jan 2010
#2
to change permanently just change the font (from the Xterm application menu drop down at the top of the terminal window). For a quick one off, just zoom the terminal window to desired size using the volume rocker switch.
 

The Following 3 Users Say Thank You to Pigro For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#3
Originally Posted by Stamm View Post
Hello all,

When doing a "ls -l" on the x-terminal, the width of the displayed list is too large, even for small filenames. Is there a way to change the width, or the tab length, or to remove some columns?

I'm under the impression the options I need are not on Maemo 5...
You can change the font size to fit more in. But no, none of the options which remove columns seem to work with the busybox version of ls.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#4
You could remove some columns with awk I guess.

ls -l | awk '{print $1, $3, $9}'

Would give permissions, owner and file name for example.

Jan
 

The Following 2 Users Say Thank You to Big Phat Jan For This Useful Post:
Posts: 21 | Thanked: 16 times | Joined on Feb 2010
#5
Ok, thank you all. I use the volume buttons.
 
Posts: 21 | Thanked: 16 times | Joined on Feb 2010
#6
Originally Posted by Big Phat Jan View Post
You could remove some columns with awk I guess.

ls -l | awk '{print $1, $3, $9}'

Would give permissions, owner and file name for example.

Jan
We crossposted...

I like your idea. I made an alias with your command.

Thank you very much.
 

The Following User Says Thank You to Stamm For This Useful Post:
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#7
No probs!
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:37.