We want a Bash script which will take a list of usernames on the command line and print out which of those users is currently logged on, in alphabetical order, on one line.Please correct/complete below code and attach screenshot of output.
for name in *dowho | grep -w "^name" | sed -e ’s/ .*//’ | uniqdone | sort | tr ’\n’ ’ ’echo
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here