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

What UNIX commands would I use for this? I know I need to use paste, tr, I think

ID: 3813172 • Letter: W

Question

What UNIX commands would I use for this? I know I need to use paste, tr, I think

The structure of email addresses is as followed: username@imapNumber.asu.edu

You are to reformat the addressbook as followed:

LastName        FirstName       Username       EmailAddress

The requirements/observations for our targeted format:

Notice that there is a new field, the username.

The field separator for the final display is the tab. Note that the initial file did not have a uniform field separator

The data must be sorted by last name

The imap number must be removed from the email addresses. For example, “madhu@imap2.asu.edu” must now be shown as madhu@asu.edu

Explanation / Answer

1.command to sort by last name

ls -l | sort -k 1

2. command to remove imap address

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