Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant ls
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
lpx
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 205
Location: Braga, Portugal

PostPosted: Thu Oct 06, 2005 8:28 am    Post subject: cant ls Reply with quote

Hi,

I've recently installed portage on my osx. its not the first time and the thing that's is happening never ocurred before.

i just noticed that after emerged the system my ls just doenst work.

if i make ls i get this:

lpx@MACKIE /Volumes/DADOS/Dados importantes/LESI/2 Ano $ ls
ls: illegal option -- -
usage: ls [-ABCFGHLPRSTWZabcdefghiklmnopqrstuwx1] [file ...]

i have to use dir command! that's not a nice thing to do! :twisted:

i had some problems emergin debiantools for the first time and i had to use a experimental version instead of the stable one. but now i've emerged the system again and the stable version has been installed.

is anybody with the same problem or anybody know how to fix this?

Cheers,
_________________
Imaginando o futuro
Imagining the future
Back to top
View user's profile Send private message
meathoz
n00b
n00b


Joined: 18 Jan 2004
Posts: 61
Location: Finland

PostPosted: Thu Oct 06, 2005 5:08 pm    Post subject: Reply with quote

try finding a line beginning with
Code:
alias ls='ls ....

in your .bashrc or .profile or in some global profile file.
if you find some make sure the second half is correct
Back to top
View user's profile Send private message
lpx
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 205
Location: Braga, Portugal

PostPosted: Thu Oct 06, 2005 5:40 pm    Post subject: Reply with quote

cheers mate.

i found the /etc/.bashrc with a strange alias

its working now

:wink:
_________________
Imaginando o futuro
Imagining the future
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum