bash: dir: command not found

There is no 'dir' command :) 'dir' is a DOS command. You should read the man page for 'ls' since that is the common command on unix systems to show directory listings.

Adam
 
Welcome to the wonderful world of UNIX. Be sure to pick some literature, read, experience and enjoy ! Good luck.
 
megabytemb said:
where is the fir command?

can i download it somewhere

On a more serious note (ahem...) I'm actually quite surprised that there apparently isn't some package called "fir" :e

Alphons
 
On Linux system ls and dir installed. I never understood why those distro included dir command. May be OP has some Linux background.
 
If you are used to dir create an alias.

For csh edit your .cshrc file and add:
Code:
alias dir 'ls -FG'

For zsh edit your .zshrc file and add:
Code:
alias dir='ls -FG'

For bash edit you .bashrc file and add:
Code:
alias dir='ls -FG'

-G colorizes the output and -F adds a trailing sign such as /, *, @ and so on according to file type.

For more info take a look at:
Code:
% man ls
 
Back
Top