Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How do I do the following on a Unix Command Line Prompt: Change you command-line

ID: 3665827 • Letter: H

Question

How do I do the following on a Unix Command Line Prompt:
Change you command-line prompt to some interesting phrase/word of your choice
Change the command-line prompt to display your user name and your current working directory (this includes your interesting phrase/word)
Create a short alias for “ls -l -a”, it is up to you, but maybe “lsa”
Execute the “who” command together with the “grep” command to identify whether your peer group (or any 3 or more people) are logged into the computer.
If you are on a Unix computer with a GUI then the login script must launch the browser (any browser installed on that computers).
Your login script must append to the text file MyLoginHistory.txt the date and time you just logged in.

Explanation / Answer

1. PS1 = h@w

2. alias lsa = "ls -l -a"

3. who -u

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote