LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-18-2010, 04:30 AM   #1
stirring
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.

http://img696.imageshack.us/img696/2402/67788558.jpg
 
Old 09-18-2010, 04:49 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
ls -l?
 
Old 09-18-2010, 04:53 AM   #3
stirring
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, 05:00 AM   #4
kurumi
Member
 
Registered: Apr 2010
Posts: 228

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

Last edited by kurumi; 09-18-2010 at 06:21 AM.
 
Old 09-18-2010, 05:02 AM   #5
xeleema
Member
 
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: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Let me take a stab at this;

"Vertical Output"
Code:
sysop@server(SunOS)backout$ ll
total 2126
-rwxr-xr--   1 sysop   users        557 Feb 13  2009 asdf.sh*
-rwxr-xr-x   1 sysop   users       8.6K May 17  2009 backout.sh*
-rw-r--r--   1 sysop   users       9.7K May 17  2009 backout.sh.test
-rwxr-xr--   1 sysop   users       4.3K Feb 13  2009 check_rev_order-2008_11_26-0714.22.sh*
-rwxr-xr--   1 sysop   users       4.3K Feb 13  2009 check_rev_order.sh*
drwx------   2 sysop   users        512 Feb 13  2009 inputs/
-rw-r--r--   1 sysop   users      1016K Feb 13  2009 SUNW-all_patches-14oct08.wri
sysop@server(SunOS)backout$
"Horizontal Output"
Code:
sysop@server(SunOS)backout$ ls
asdf.sh   backout.sh.test  check_rev_order.sh  SUNW-all_patches-14oct08.wri
backout.sh  check_rev_order-2008_11_26-0714.22.sh  inputs
sysop@server(SunOS)backout$
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 05:03 AM.
 
  


Reply



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 06:06 AM
text terminal!! computergeek7 General 2 03-11-2010 11:04 AM
vt text terminal offworld Linux - Networking 10 01-16-2006 01:26 PM
ls to text in terminal oldstinkyfish Linux - Software 2 12-04-2004 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

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