LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-07-2005, 03:29 PM   #1
shinobi59
Member
 
Registered: Oct 2004
Location: Dimension X
Distribution: All
Posts: 60

Rep: Reputation: 15
Linux commands - giving doubled output


What would cause everything to display twice?
# ls
kernels
linux
redhat
kernels
linux
redhat

# ls -l
total 24
drwxr-xr-x 5 root root 4096 Sep 19 10:42 kernels
drwxr-xr-x 2 root root 4096 Nov 7 15:51 linux
drwxr-xr-x 7 root root 4096 Mar 2 2005 redhat
total 24
drwxr-xr-x 5 root root 4096 Sep 19 10:42 kernels
drwxr-xr-x 2 root root 4096 Nov 7 15:51 linux
drwxr-xr-x 7 root root 4096 Mar 2 2005 redhat
#

??
 
Old 11-07-2005, 06:43 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
First verify that this problem exists in other directories.

I think the first thing to check is how the ls command is aliased. If you enter the 'alias' command by itself, it will print out all of the defined aliases. Also, check the $LSOPTIONS
variable. This variable contains your default options for the LS command ( such as --color=auto ). Make sure that the options don't contain the ls command itself, but just options for the command.
 
  


Reply


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
Giving OS commands nyumedic2000 Linux - Newbie 1 04-15-2005 07:16 PM
YUM/RPM commands giving errors MontyPY Linux - Software 1 03-04-2005 08:10 AM
fdisk -l has stopped giving output Bruce Hill Slackware 59 09-06-2004 08:14 AM
giving commands blotch Linux - Newbie 9 06-22-2003 03:13 AM
df -h is giving weird output chens_83 Linux - General 2 12-09-2002 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:11 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