![]() ![]() |
![]() ![]() ![]() |
||
If you're like some of us here at Be, the command line is not your first choice for how to get things done on your system. However, the BeOS command line is very powerful, and if you invest a little time in getting used to it, you'll probably come to wonder how you did without it. So this week, not one but three quick tips for use in Terminal, the BeOS command line tool and your window to the BeOS shell, "bash." First of all, there is a fair amount of documentation covering using the command line tool that comes with the BeOS. The BeOS User's Guide Appendix A: Using the BeOS Command Line Shell gives some introductory information, while the BeOS Shell Tools collection provides more detailed information about specific tools distributed with the BeOS, and how to use them. Of course, to become a true BeOS power user, you'll want to learn more about the command line than these two resources will give you. For a much more extensive treatment of bash, you'll definitely want to get the O'Reilly & Associates book, Learning the Bash Shell. Finally, one of the most confusing things about using a command line is knowing "where you are," or what the current working directory is. Here's a simple way to give yourself a constant reminder of where you are, by changing your command line prompt to include the current working directory:
Voilà! Your command line prompt should now look like this:
The directory path before your shell prompt (everything before the "$")
is your current working directory, or "where you are" in the shell. Try
using the |
|||
Copyright © 1999 by Be, Inc. All rights reserved. Legal information (includes icon usage info). Comments, questions, or confessions about our site? Please write the Webmaster. |