Linux command to edit PS1:
export PS1="\[\033[01;36;41m\]\u@\h \w\$\[\033[00;37;40m\] "
Understanding the above command:
export PS1="\[\033[01;36;41m\]\u@\h \w\$\[\033[00;37;40m\] " \[\033 - starts a color scheme [01;36;41 - sets font to bold (01), foreground color to Cyan (36), and background color to Red (41) m\] - stops the color scheme Now, since we only want to change color of the prompt and not the whole terminal, therefore, we again need to start another color scheme after '$' of the prompt. [00;37;40 - sets font back to normal (00), foreground color to White (37), and background color to Black (40)
Prompt before editing PS1:
![shubham@DESKTOP-RBUJ4KN: ~ X shubham@DESKTOP - RBUJ4KN: $ echo $PS1 N[ \e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[](http://img.homeworklib.com/questions/7fd857d0-c038-11eb-858e-8beb273a272a.png?x-oss-process=image/resize,w_560)
Prompt after editing PS1:
![shubham@DESKTOP-RBUJ4KN: shubham@DESKTOP-RBUJ4KN: $ export PS1=\[\€33[01;36;41m\] \u@\h_\w\$\[\033 [00; 37 ; 40m\ shubham@DE](http://img.homeworklib.com/questions/80457530-c038-11eb-a1e1-b5866d095498.png?x-oss-process=image/resize,w_560)
FOR ANY HELP JUST DROP A COMMENT
3) Color We will play with PS1 prompt's color. Please make your PS1 prompt: a text...
JUDY'S HTML TUTORIAL MENU CREATING YOUR FIRST WEB PAGE The best way to make a web page is to just dive right in. Open Notepad. To open notepad in Windows, click the windows icon in the lower left corner of the screen and then type "notepad." Notepad is a text editor. Other text editors you may consider are TextPad, Sublime Text, or NotePad++. Do not use Word or WordPad; they are word processors. If you are using an Apple computer...
could you please help me with this problem, also I
need a little text so I can understand how you solved the
problem?
import java.io.File; import java.util.Scanner; /** *
This program lists the files in a directory specified by * the
user. The user is asked to type in a directory name. * If the name
entered by the user is not a directory, a * message is printed and
the program ends. */ public class DirectoryList { public static...
Actions that damage a company and its employees should be stamped out, everyone would agree. But should the people responsible be stamped out, too? HBR CASE STUDY The Reign of Zero Tolerance by Ben Gerson "Mr. Pemberton?" manager. The guards had radioed her that the "Yes, that's me," Simon replied distractedly, his back turned. target wasn't putting up much resistance. "Your personal belongings will be messen The two burly gentlemen who had suddenly gered to your home later today," Sallie...