View Full Version : bash: dir: command not found
megabytemb
February 3rd, 2009, 11:42
where is the fir command?
can i download it somewhere
adamk
February 3rd, 2009, 12:23
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
intr
February 3rd, 2009, 12:26
Use ls(1). :)
cajunman4life
February 6th, 2009, 14:17
I use:
alias dir='ls -al'
which will yield similar results.
hydra
February 6th, 2009, 14:24
Welcome to the wonderful world of UNIX. Be sure to pick some literature, read, experience and enjoy ! Good luck.
fronclynne
February 13th, 2009, 00:40
This seemed useful to me a decade or so ago:
http://www.bhami.com/rosetta.html
Actually, it still is, sometimes.
ale
February 13th, 2009, 01:00
You may want to try emulators/mtools
http://www.freebsd.org/cgi/url.cgi?ports/emulators/mtools/pkg-descr
fonz
February 13th, 2009, 01:00
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
vivek
February 13th, 2009, 06:56
On Linux system ls and dir installed. I never understood why those distro included dir command. May be OP has some Linux background.
tangram
February 13th, 2009, 12:46
If you are used to dir create an alias.
For csh edit your .cshrc file and add:
alias dir 'ls -FG'
For zsh edit your .zshrc file and add:
alias dir='ls -FG'
For bash edit you .bashrc file and add:
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:
% man ls
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.