When a user logs in, two shell variables are set from the /etc/passwd file. What are they? Group of answer choices home and shell HOEMDIR and SHELL SHELL and HOME UID and GID
Added by Justin P.
Step 1
Step 1: Understand the context of the question, which is about user login and the environment variables that are set from the /etc/passwd file. Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 50 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Texts: 1. Modify your shell environment so that on every subshell that is started, a variable is set. The name of the variable should be COLOR, and the value should be set to red. Verify that it is working. 2. Use the appropriate tools to find the command that you can use to change a user password. Do you need root permissions to use this command? 3. From your home directory, type the command ls -al wergihl* and ensure that errors as well as regular output are redirected to a file with the name /tmp/lsoutput.
Akash M.
Supreeta N.
What is the Bourne shell syntax to start or invoke a new Bourne Shell? True or False: The following Bourne Shell syntax will use the if control structure statement to determine if the file /home/user100/lab3 is a directory. if [ -d /home/user100/lab3 ] then echo lab3 is a dir fi This file is located in each user's home directory and is automatically executed when logging into the UNIX system when your default shell is set to the Bourne Shell. The command in the Bourne Shell to remove or erase the definition of a variable is "unset". The Bourne Shell command to execute a program or shell script as part of the current process is "source" or ".".
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD