ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  ColdFusion MX on Mac OS X, Part 3
Subject:   trouble with Terminal(?)...continued
Date:   2002-10-01 03:42:15
From:   dicklacara
Response to: trouble with Terminal(?)...continued


Here's an illustration of a terminal session.




01 Last login: Tue Oct 1 02:51:16 on ttyp7
02 Welcome to Darwin!
03 [TiBook:~] cfmx%
04 [TiBook:~] cfmx% su root
05 Password:
06 [TiBook:/Users/cfmx] cfmx#
07 [TiBook:/Users/cfmx] cfmx# pwd
08 /Users/cfmx
09 [TiBook:/Users/cfmx] cfmx# cd /
10 [TiBook:/] cfmx# pwd
11 /
12 [TiBook:/] cfmx#



The code above illustrates a Terminal session to Install ColdFusion MX on Mac OS X. I pre-pended line numbers so I could refer to each command.



  • Lines 01 - 03: display when terminal window opened (I hit enter on line 03 to illustrate a prompt line with no cammand enterd after the prompt).
  • Line 04: Enter the su root command to assume the root user identity.
  • Line 05: You will be prompted for a password. Enter the password and hit enter. (Nothing will be displayed when you type after the password prompt).
  • Line 06: The prompt line will change indicating that you are operating under the root user's identity. (I hit enter on line 06 to illustrate a prompt line with no cammand enterd after the prompt).

    • I use Jaguar and the character after the user (cfmx) changes to a #
    • In OS X 10.1, the username changes to root

  • Line 07: Enter pwd (Print Working Directory) to display the current directory path.
  • Line 08: The current directory path is displayed. (Even though we assumed the root user's identity, we remain in the cfmx user's default directory path).
  • Line 09: Enter the cd / command to change to the root directory path.
  • Line 10: Enter pwd to display the new current directory path.
  • Line 11: The current directory path is displayed. (The / indicates we are at the root directory). This is where we will expand the compressed file with gnutar
  • Line 12: I hit enter on line 12 to illustrate a prompt line with no cammand enterd after the prompt.


You are now properly setup to issue the gnutar command.



HTH



Dick


1 to 1 of 1
  1. trouble with Terminal(?)...continued
    2002-10-01 06:32:04  edgedesign [View]

    • trouble with Terminal(?)...continued
      2002-10-01 06:36:50  edgedesign [View]

      • root accessed...trouble launching script
        2002-10-01 10:21:18  edgedesign [View]

        • root accessed...trouble launching script
          2002-10-02 03:02:55  dicklacara [View]

          • root accessed...trouble launching script
            2002-10-02 05:21:56  edgedesign [View]

            • root accessed...trouble launching script
              2002-10-02 09:16:13  dicklacara [View]

              • root accessed...trouble launching script
                2002-10-02 11:01:18  edgedesign [View]

                • root accessed...trouble launching script
                  2002-10-02 13:14:08  dicklacara [View]

                  • root accessed...trouble launching script
                    2002-10-03 04:15:22  edgedesign [View]

                    • root accessed...trouble launching script
                      2002-10-03 04:30:55  dicklacara [View]

1 to 1 of 1