LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   terminal text horizontal (https://www.linuxquestions.org/questions/linux-newbie-8/terminal-text-horizontal-832994/)

stirring 09-18-2010 04:30 AM

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

quanta 09-18-2010 04:49 AM

ls -l?

stirring 09-18-2010 04:53 AM

After use ls -l folder and files arrange in vertical position, look the picture. I want to arange in horizontal.

kurumi 09-18-2010 05:00 AM

Code:

ruby -e 'print Dir["*"].join(" ")'

xeleema 09-18-2010 05:02 AM

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


All times are GMT -5. The time now is 09:32 AM.