LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2002, 03:29 PM   #1
loganwva
Member
 
Registered: Jul 2001
Location: West Virginia
Distribution: SuSE 9.1
Posts: 117

Rep: Reputation: 15
dir to ls


How do you get a Windows DOS terminal to recognize the ls command as a long listing to replace the dir command?

Thanks

Last edited by loganwva; 04-22-2002 at 03:33 PM.
 
Old 04-22-2002, 03:35 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do you mean by "recognise"??
 
Old 04-22-2002, 03:48 PM   #3
loganwva
Member
 
Registered: Jul 2001
Location: West Virginia
Distribution: SuSE 9.1
Posts: 117

Original Poster
Rep: Reputation: 15
When I open a DOS I want to be able to type "ls" instead of "dir" to get a directory listing. That would keep it much simpler for me.
 
Old 04-22-2002, 04:04 PM   #4
boblucci
Member
 
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by loganwva
When I open a DOS I want to be able to type "ls" instead of "dir" to get a directory listing. That would keep it much simpler for me.
is it that hard to remeber "dir"
 
Old 04-22-2002, 04:08 PM   #5
l_9_l
Member
 
Registered: Dec 2001
Location: New Zealand,Auckland
Distribution: debian
Posts: 86

Rep: Reputation: 15
Firstly this is not a Linux-related question! there's an appartment in this site for these questions,next time,when you have such questions,please post it in this forum-->Non-*NIX-Forum

Anyway,to have the UNIX commands under DOS,you can use cygwin
for that purpose.

Good Luck
 
Old 04-22-2002, 04:28 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well, cygwin is vastly OTT for what they want. There's a unix utils package out there with some simple ports of ls and all that. just search around a bit.
 
Old 04-22-2002, 10:05 PM   #7
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
make a batch file called ls.bat and the only thing you need in the whole file is "dir"
 
Old 04-22-2002, 10:14 PM   #8
PimpNasty
LQ Newbie
 
Registered: Apr 2002
Location: Central Wisconsin
Distribution: RedHat 7.2 w/ SGI XFS
Posts: 8

Rep: Reputation: 0
I have seen a method before of using an alias in autoexec.bat but what exactly to do i escaping me at the moment. I found ls ported to DOS HERE (I think I have used this before and it worked good)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM
krecipes and ./configure -with-qt-dir=DIR disco rugby Linux - Software 4 06-13-2004 09:06 PM
ld looking in the wrong dir clockworks Programming 3 02-11-2004 11:44 PM
What is /proc/ dir ? DavidTempler Mandriva 4 10-26-2003 02:47 AM
Include dir help gilinko Slackware 1 07-06-2002 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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