Hello I have something for my scripting class I am assigned to do, I can not figure out who to do these set of instructions, I beleive i am supposed to use the tr command, he has 'cut file | tr ":" " " ' on the board. i am very confused, the instructions go as following
"Cut the login name field(#1) and the display name field (#5) from the /etc/passwd file and redirect the output to a file name cutpw
cut the login name field (#1) and the terminal field (#2) from the output of the who command and redirect the output to a file name cutwho
Join the cutpw and cutwho files on the login name fields and redirect the output inot a file named joinfile"