Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-18-2010, 05:30 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
terminal text horizontal

Hi, somebody can tell me how arrange my folder and files in console vertical coz now is a horizontal.
Old 09-18-2010, 05:49 AM   #2
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
ls -l?
Old 09-18-2010, 05:53 AM   #3
LQ Newbie
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
After use ls -l folder and files arrange in vertical position, look the picture. I want to arange in horizontal.
Old 09-18-2010, 06:00 AM   #4
Registered: Apr 2010
Posts: 228

Rep: Reputation: 46
ruby -e 'print Dir["*"].join(" ")'

Last edited by kurumi; 09-18-2010 at 07:21 AM.
Old 09-18-2010, 06:02 AM   #5
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252

Let me take a stab at this;

"Vertical Output"
sysop@server(SunOS)backout$ ll
total 2126
-rwxr-xr--   1 sysop   users        557 Feb 13  2009*
-rwxr-xr-x   1 sysop   users       8.6K May 17  2009*
-rw-r--r--   1 sysop   users       9.7K May 17  2009
-rwxr-xr--   1 sysop   users       4.3K Feb 13  2009*
-rwxr-xr--   1 sysop   users       4.3K Feb 13  2009*
drwx------   2 sysop   users        512 Feb 13  2009 inputs/
-rw-r--r--   1 sysop   users      1016K Feb 13  2009 SUNW-all_patches-14oct08.wri
"Horizontal Output"
sysop@server(SunOS)backout$ ls  SUNW-all_patches-14oct08.wri  inputs
If you're just typing "ls" and getting the "Vertical Output" I mentioned above, then you might have an "alias" setup for the "ls" command.

To find out, just type "alias" and see if "ls = something".
To unset the alias, just type "unalias ls".

If you find that the "ls" command is always aliased, check your shell's "profile" file.
bash = ~/.bashrc or ~/.bash_profile
ksh = ~/.kshrc and/or .profile
sh = ~/.profile

Last edited by xeleema; 09-18-2010 at 06:03 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy text from vmware from linux text terminal to word document in windows? meandsushil Linux - Newbie 40 01-12-2011 07:06 AM
text terminal!! computergeek7 General 2 03-11-2010 12:04 PM
vt text terminal offworld Linux - Networking 10 01-16-2006 02:26 PM
ls to text in terminal oldstinkyfish Linux - Software 2 12-04-2004 05:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration