Linux+ Questions and Answers Already Graded A
Linux+ Questions and Answers Already Graded A Going through the process of creating a new user, which commands will make this task successful? (select 2) A. useradd B. passwd C. /etc/passwd D. /etc/ A. useradd B. passwd You are unable to run the apt-get command because you do not have root priveleges. what command can you run to be able to update the APT (Advanced Package Tool) database of available packages? A. sudo apt-get update B. su -root C. visudo D. Sudoedit A. sudo apt-get update A new user called amoon was created on a Linux workstation for a new admin named Alex Moon. The administrator is unable to use it. How will you resolve this? A. vi /etc/passwd B. passwd amoon C. usermod -c "Alex Moon" amoon D. passwd -l amoon B. passwd amoon To better manage the users on a Linux workstation, you create a group with a specific name and system defaults. which command will create the group, and where can you find information for the newly created group? (select 2) A. groupadd accountants B. groupadd -g 555 accountants C. /etc/group file D. /etc/profile file A. groupadd accountants C. /etc/group file You are unsure which user account you have used to login to your current session on a linux server. which command can you run to display your current user name? A. who B. whoami C. who -i D. w B. whoami Which file can you configure to customize your own use of aliases? A. /etc/bashrc B. .bash_profile C. /etc/profile D. .bashrc D. bashrc You want to check the permissions of several directories and remove the ability to write to them, if necessary. Which commands will help you accomplish this? (select 2) A. ls -l B. ls -ld C. chmod u-w, g-w, o-w {file or directory name} D. chmod u+r, g+r, o+r {file or directory name} B. ls -ld C. chmod u-w, g-w, o-w {file or directory name} An employee in the accounting department who managed a specific directory on a linux file server has left the company. another user
Written for
- Institution
- Linux+
- Course
- Linux+
Document information
- Uploaded on
- May 24, 2024
- Number of pages
- 37
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
linux questions and answers already graded a
Content preview
Also available in package deal