LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2003, 12:30 AM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
no dir command


I just installed slackware to see what it would be like, I am very new to linux so I was not expecting to get everything configured right. I even expected to get a little frustrated.

I was just looking around and playing in the shell. I used the dir command in the beginng just fine, five minutes later it would not work, "command not found". Why would it behave so stangely?
 
Old 10-09-2003, 12:40 AM   #2
DeadPuddle
Member
 
Registered: Mar 2002
Location: Asheville, NC
Distribution: Debian
Posts: 257

Rep: Reputation: 30
What exactly did you do?
 
Old 10-09-2003, 01:09 AM   #3
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Ehh...



But for future reference: use "ls" instead.



-zsejk
 
Old 10-09-2003, 01:22 AM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
I tried startx, which did not work. I used the command #adduser shane. The dir command does not work in user or root shell? That is all I remember?
 
Old 10-09-2003, 03:10 AM   #5
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
Forget about the dir command, that's like...DOS. As zsejk said, use ls. As for startx...did you configure your XF86Config? For that, use xf86config or xfree86setup. And why are you mentioning that you used the adduser command?
 
Old 10-09-2003, 11:50 AM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
kernal asked what I did prior to my dir command stopping working. adduser was what I rember doing last. That must have been the problem. When I booted my machine this morning, I logged in as root, then my dir command worked. After su shane it no longer worked. If I rember correctly, I had to chose a shell for my new user? I think that is where the problem must have came from.

This morning I used x86config(still not working), I do not have /usr/X11R6/bin/XF86Setup.

just now I was looking at my slack partition(have it mounted from redhat) I have an xfree86setup, is this the same thing?
 
Old 10-09-2003, 01:10 PM   #7
wuck
Member
 
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
With Mandrake, dir has been aliased to ls.
It seems your distro does the same.
By creating a user manually, chances are that alias isn't included in that user's profile file. So if you put the same line [alias dir='ls' in bash] in the .bashrc file, you'll be just fine.

But you should use ls!
 
Old 10-09-2003, 01:14 PM   #8
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
that makes sence, thanks everyone
 
Old 10-09-2003, 02:33 PM   #9
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
This is the easiest way to configure X that I have found:

http://www.linuxquestions.org/questi...981#post515981
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Equivalen dir /s [DOS] command shole Linux - Software 8 01-14-2005 03:39 AM
command to find size of a dir Longinus Linux - Newbie 3 08-01-2004 08:19 PM
DIR and LS command returning *s linmonkey Linux - Newbie 2 07-10-2004 05:45 PM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM
Which command displays the dir tree of a HD? cbjhawks Linux - General 5 02-28-2004 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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