Note Book
  • 😎Weee
  • UBUNTU: Installing LAMP Stack
  • Starting with Burp Suite
  • confort zone
  • Linux
    • Linux Structure
    • Introduction to Shell
    • Prompt Description
    • Getting Help
    • System Information
    • Cheat sheet
    • REf
    • NFS Configs
  • Random
  • OSINT
  • Affiliate links
  • Ref
    • Infosec career resources
    • Network Security
    • Cloud Dev OPs
  • network
    • Networking Custom Packet
  • CheckLists
  • 🧑‍🏫Pentest-Tools
  • 📚resources
Powered by GitBook
On this page

Was this helpful?

  1. Linux

Prompt Description

PreviousIntroduction to ShellNextGetting Help

Last updated 4 years ago

Was this helpful?

The bash prompt is easy to understand and, by default, includes information such as the user, hostname, and current working directory. The format can look something like this:

<username>@<hostname><current working directory>$

The home directory for a user is marked with a tilde <~> and is the default folder when you log in.

<username>@<hostname>[~]$

The dollar sign, in this case, stands for a user. As soon as we log in as root, the character changes to a hash <#> and looks like this:

root@arishti[/lab]#

We see here the same as when we work on the Windows GUI. We are logged in as a user on a computer with a specific name, and we know which directory we are in when we navigate through our system. Bash prompt can also be customized and changed to our own needs. The adjustment of the bash prompt is outside the scope for this module. However, we can look at the and , which gives us the possibility to adapt our prompt to our needs.

bashrcgenerator
powerline