Jump to content




shell help?



  • You cannot reply to this topic
9 replies to this topic

#1 YUGATUG

  • Members
  • 56 posts

Posted 21 May 2015 - 08:44 PM

When i type in 'dir' in to the shell of my advanced computer, it gives me an error. I am certain 'dir' used to show all the directories stored in the computer. What should i do to see and access the directories?

#2 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 21 May 2015 - 08:55 PM

does ls (LS) work?

are you sure that you are not in the lua prompt?

Edited by Lupus590, 21 May 2015 - 08:56 PM.


#3 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 21 May 2015 - 09:03 PM

If that doesn't work, someone may have changed you aliases. Try using the full path:

rom/programs/list


#4 YUGATUG

  • Members
  • 56 posts

Posted 21 May 2015 - 09:10 PM

View PostLupus590, on 21 May 2015 - 08:55 PM, said:

does ls (LS) work?

are you sure that you are not in the lua prompt?
Yea, i entered and exited the lua prompt just to make sure. Rebooted my (virtual) computer too, still not working. No programs in the autorun folder. strangley, when i AM in a directory, 'dir' works exactly as i expect it to.

View PostKingofGamesYami, on 21 May 2015 - 09:03 PM, said:

If that doesn't work, someone may have changed you aliases. Try using the full path:

rom/programs/list

I don't know the full path though, that is why i was using 'dir'

#5 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 21 May 2015 - 09:49 PM

Moved to Ask a Pro.

#6 YUGATUG

  • Members
  • 56 posts

Posted 21 May 2015 - 10:13 PM

View PostLyqyd, on 21 May 2015 - 09:49 PM, said:

Moved to Ask a Pro.
k

#7 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 21 May 2015 - 10:47 PM

View PostYUGATUG, on 21 May 2015 - 09:10 PM, said:

View PostLupus590, on 21 May 2015 - 08:55 PM, said:

does ls (LS) work?

are you sure that you are not in the lua prompt?
Yea, i entered and exited the lua prompt just to make sure. Rebooted my (virtual) computer too, still not working. No programs in the autorun folder. strangley, when i AM in a directory, 'dir' works exactly as i expect it to.

View PostKingofGamesYami, on 21 May 2015 - 09:03 PM, said:

If that doesn't work, someone may have changed you aliases. Try using the full path:

rom/programs/list

I don't know the full path though, that is why i was using 'dir'

...which is why I posted it. Both 'dir' and 'ls' are simply shortcuts to the list program located in rom/programs.

#8 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 22 May 2015 - 12:42 AM

View PostLupus590, on 21 May 2015 - 08:55 PM, said:

does ls (LS) work?


#9 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 22 May 2015 - 01:48 AM

What's the error? You may have accidentally created a file named "dir" that's being run instead of /rom/programs/list whenever your current working directory is the folder it's in (perhaps root).

#10 YUGATUG

  • Members
  • 56 posts

Posted 22 May 2015 - 01:55 AM

View PostBomb Bloke, on 22 May 2015 - 12:42 AM, said:

View PostLupus590, on 21 May 2015 - 08:55 PM, said:

does ls (LS) work?

View PostLyqyd, on 22 May 2015 - 01:48 AM, said:

What's the error? You may have accidentally created a file named "dir" that's being run instead of /rom/programs/list whenever your current working directory is the folder it's in (perhaps root).
will get back to you guys tommorow





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users