Turn on thread page Beta
    • Thread Starter
    Offline

    14
    ReputationRep:
    Here is a question:
    'Login to your Linux computer. If necessary, open a terminal window. You will see the command prompt. Describe and explain each part of the command prompt that you see.'

    By 'command prompt', is it referring to the '>>>' or everything in the black window (it looks similar to cmd.exe in Windows)?

    I know this is a sort of strange question but my teacher has confused me, and some students wrote about '>>>' but this seems wrong as the question asks for 'each part' to be explained, and '>>>' doesn't have multiple parts.
    • TSR Support Team
    Offline

    22
    ReputationRep:
    TSR Support Team
    (Original post by Kaiylar)
    Here is a question:
    'Login to your Linux computer. If necessary, open a terminal window. You will see the command prompt. Describe and explain each part of the command prompt that you see.'

    By 'command prompt', is it referring to the '>>>' or everything in the black window (it looks similar to cmd.exe in Windows)?

    I know this is a sort of strange question but my teacher has confused me, and some students wrote about '>>>' but this seems wrong as the question asks for 'each part' to be explained, and '>>>' doesn't have multiple parts.
    Hello I'll move your thread to the computer science section where you are more likely to get some help

    Posted from TSR Mobile
    • Very Important Poster
    Offline

    21
    ReputationRep:
    Very Important Poster
    They mean the bash terminal.

    Similar to that on Windows and Command Prompt... But it's just called bash.

    Posted from TSR Mobile
    • Thread Starter
    Offline

    14
    ReputationRep:
    (Original post by Changing Skies)
    Hello I'll move your thread to the computer science section where you are more likely to get some help

    Posted from TSR Mobile
    Thank you
    • Thread Starter
    Offline

    14
    ReputationRep:
    (Original post by UWS)
    They mean the bash terminal.

    Similar to that on Windows and Command Prompt... But it's just called bash.

    Posted from TSR Mobile
    Is that the entire black window then?
    • Very Important Poster
    Offline

    21
    ReputationRep:
    Very Important Poster
    (Original post by Kaiylar)
    Is that the entire black window then?

    It looks like this
    • Thread Starter
    Offline

    14
    ReputationRep:
    (Original post by UWS)
    It looks like this
    Yeah, it looks similar to that. Thanks!
    Offline

    13
    ReputationRep:
    Lets say you have "[email protected]:~$". "foo" is the user currently using the command line. "foobar" is the name of the computer (usually called the hostname). The tilde "~" is the file path that the terminal is currently in. The ~ means its the current users home path, so for "foo" it would be "/home/foo". So for example if you "cd /var/www/html" then it would appear as "[email protected]:/var/www/html". The $ means that the current user using the command line is a normal user. If you were to change to the root user it would be #.

    Hope this helps!
    • Thread Starter
    Offline

    14
    ReputationRep:
    (Original post by theholychilli)
    Lets say you have "[email protected]:~$". "foo" is the user currently using the command line. "foobar" is the name of the computer (usually called the hostname). The tilde "~" is the file path that the terminal is currently in. The ~ means its the current users home path, so for "foo" it would be "/home/foo". So for example if you "cd /var/www/html" then it would appear as "[email protected]:/var/www/html". The $ means that the current user using the command line is a normal user. If you were to change to the root user it would be #.

    Hope this helps!
    Thanks very much! I thought that the question was asking me to explain all the parts of the black window like 'Help', 'File', 'Edit', 'View', but I thought it might just be asking for the parts you've described.

    This makes a lot more sense now, thank you!
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: February 19, 2016
The home of Results and Clearing

2,319

people online now

1,567,000

students helped last year

University open days

  1. London Metropolitan University
    Undergraduate Open Day Undergraduate
    Sat, 18 Aug '18
  2. Edge Hill University
    All Faculties Undergraduate
    Sat, 18 Aug '18
  3. Bournemouth University
    Clearing Open Day Undergraduate
    Sat, 18 Aug '18
Poll
A-level students - how do you feel about your results?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.