If you want permanent changes, you need to add the above expression to the. To change the color and font of the bash prompt, type the remember, this code will only register changes temporarily. The color range for text colors is 30-37. The color range for background pallets is 40-47. Here, to change the bash prompt, you'll have to play with the commands, depending on what you want as the output.Ĭode for formatting the text: 0 for standard text, 1 for bold, 3 for italic, and 4 for underlined text. However, the output can differ for different users. Along with the hex method, the randint method can be used to generate two-digit hexadecimal values which are then used in the spoofed MAC address.
Let's break down the aforementioned string: Let's focus on the initial part of the \w\a\]$