question archive PART 2: Experiment with some basic Unix commands: Log on as your regular user to the general

PART 2: Experiment with some basic Unix commands: Log on as your regular user to the general

Subject:Computer SciencePrice:4.86 Bought12

PART 2: Experiment with some basic Unix commands:

  1. Log on as your regular user to the general.asu.edu
  2. Notice the CLI default prompt components: [user @hostname | dir]
  3. use the pwd command to identify your location
  4. use the cd /  command to get to the root of your directory tree structure
  5. use the cd ~  command to get back to your home directory
  6. HAND-IN: Screen Capture #1 of of the above activities

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Answer Preview

Please find below walk through.

 

1. Log on as your regular user to the general.asu.edu

- For this one first access the general.asu.edu using your account. general.asu.edu is the hostname.

 I assume that you use putty or any terminal program that use to access UNIX server. Attached sample to access terminal.(loginterminal.jpeg). Then enter your username then password if this will be ask.

 

2. Notice the CLI default prompt components: [user @hostname | dir]

- After you login on the server general.asu.edu the CLI(command line) it will display [user @hostname | dir]

 

3. use the pwd command to identify your location

- The used of CLI "pwd"(print working directory) to display your current location on the server.

Just type on pwd.

Sample:

$ cd /home/user

$ pwd

/home/user

 

4. use the cd / command to get to the root of your directory tree structure

- It will changed the directory to root. If you see below sample when before "cd/" entered the current location is C:\Users\Lenovo it was changed to root directory which is C:\>

Sample:

Microsoft Windows [Version 10.0.19042.572]

(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\Lenovo>cd /

C:\>

 

5. use the cd ~ command to get back to your home directory

symbol '~' stands for /home/username location. It will return to your directly on number 4.

Sample:

Microsoft Windows [Version 10.0.19042.572]

(c) 2020 Microsoft Corporation. All rights reserved.

C:\> cd ~

C:\Users\Lenovo>

Please see the attached file for the complete solution