Question: UNIX / LINUX QUESTION 1 What is the second step when changing a users profile? Enter vim .bash_profile Enter cd /etc/skel Assume superuser privileges Enter

UNIX / LINUX

QUESTION 1

  1. What is the second step when changing a users profile?

Entervim .bash_profile

Enter cd /etc/skel

Assume superuser privileges

Enter cd /etc/profile.d

QUESTION 2

  1. What file does thelastcommand retrieve information from?

/etc/passwd

/etc/group

/var/log/wtmp

/etc/shadow

QUESTION 3

  1. Which of the following commands will display the contents of /etc/passwd to standard output as well as make a copy to a file named passwdcopy.txt?

cat /etc/passwd &> passwdcopy.txt

cat /etc/passwd >> passwdcopy.txt

cat -e passwdcopy.txt /etc/passwd

cat /etc/passwd | tee passwdcopy.txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!