0

Your typical Mac will start with something called Open Firmware, which loads the OS and things like that. Now, it is basically like a DOS shell: it can be used to type commands and boot into various OSes and run recovery programs. Now, this shell is accessible by any end-user who owns a Mac by pressing Command-Option-O-F when the Apple logo appears. You will see some text, and you will be dropped into a DOS-like shell. Here is a short list of commands you may use:
mac-boot -> boots into OS X
dev -> configures devices
ls -> Lists hardware configuration
dir -> does exactly as it does in DOS, lists files in a specified directory
devalias -> shows you the different aliases and what they're for
load -> loads a kernel into RAM
boot -> boots a loaded kernel
printenv -> shows the environment variables
setenv -> allows you to make and change system variables, namely Open Firmware ones
shut-down -> shuts down your Mac
reboot -> reboots your Mac into OS X, although you could sue mac-boot for that!
Thanks for reading this thread and if you know any more commands post them below please! :)
NOTE! I would not really recommend *messing* with Open Firmware as it can be very dangerous.

Edited by W1ND0W5: Changing erroneous info

2
Contributors
5
Replies
7
Views
7 Years
Discussion Span
Last Post by W1ND0W5
0

DOS is not a shell. DOS is an OS. Shells are CLIs (command line interpreters) to parse code in unix. Please, if you wish to talk about other OSs, leave the others behind. The logic of DOS and the Logic of Unix are completely different.

0

I said it was a DOS-like shell, not a DOS shell. Trust me, I have developed a bit too much on DOS.

0

I don't want to put words into your mouth, but: "Now, it is basically like a DOS shell". Your words, not mine.

The unix shell that your system comes up with is a bash shell and all unix commands can be executed from the prompt. You can even switch to any unix shell.

0

Fine. Editing the post.

1

Fine. Editing the post.

Or not, as it seems. Stupid edit limit. Double-posting annoying? Sorry.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.