![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is CEP Mature? Or a Curious Case of Information Asymmetry | iBot | Complex Event Processing RSS News | 0 | 06-05-2008 05:20 PM |
| Curious? | River Freight | Linux | 1 | 10-07-2007 12:40 PM |
| Curious Dummy | highway39 | UNIX for Dummies Questions & Answers | 1 | 08-31-2006 04:22 PM |
| Curious | skotapal | UNIX for Dummies Questions & Answers | 2 | 02-28-2003 01:33 PM |
| Just curious, does Unix stand for anything? | pudad | UNIX for Dummies Questions & Answers | 6 | 10-17-2002 10:06 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Curious 'ls' Issue
Hi,
I am seeing a curious issue with 'ls' command. If I open a telnet session of my Solaris box and give "ls". The output is in 3 columns. a b c d e f g h i j k l However, if I give the same command after a couple of hours in the same window, it goes to 6 columns according to the width of the window. a b c d e f g h i j k l Any ideas? Thanks |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
ls looks at the width of the window and the width of the filenames and adjusts the number of columns accordingly.
|
|
#3
|
|||
|
|||
|
I thought of that.
Hence, during the 2 instances i haven't changed anything. Neither width nor re-sized once. I didn't even ran any other command in the mean time. |
|
#4
|
|||
|
|||
|
AI - ls is getting it's own will!
Are you using always the same ls from /bin or /usr/bin? Not that a coworker is making fun of you and has put a "modified" ls in your path. |
|
#5
|
|||
|
|||
|
Yup,
And its aliased to "ls -aFC" Even if i directly use /usr/bin/ls, I get the same result. Tried with that. So no positive in pondering over the alias part. |
|
#6
|
||||
|
||||
|
What does stty -a show at both times?
|
|
#7
|
|||
|
|||
|
Will check and let you know.
|
|||
| Google The UNIX and Linux Forums |