


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



_____ gives the owner read, write, and execute permissions - ANSWER-chmod 755 After you install Git and prior to issuing the first commit, which two configuration properties does git expect to be configured? - ANSWER-Name and email address echo -n "What is my favorite color?" read COLOR if [ "$COLOR" = "red" ]
echo "Correct!" else echo "Nope!" fi - ANSWER-then for COLORS in red blue green
echo $COLORS done - ANSWER-do for COLORS in red blue green do echo $COLORS _____ - ANSWER-done How do you stage files for a commit? - ANSWER-git add How do you supply a commit message to a commit? - ANSWER-git commit -m "I'm coding" In shell scripts, comment lines begin with a(n) _____ - ANSWER-pound (#) symbol Linux uses the freeware _____ shell as its default command interpreter - ANSWER- Bash Most shells keep a list of you recently used commands and allow you to recall a command without retyping it - ANSWER-True Once the Makefile has been created, you can build the software by using the _____ command - ANSWER-make Stephen Bourne at AT&T Bell Labs developed the _____ shell as the first UNIX command processor. - ANSWER-Bourne
Suppose you have extracted the files from software archive and are in the directory into which the files have been extracted. To create a Makefile with all the default values you would type _____. - ANSWER-./configure Supposed you have built a software package from a Makefile and verified that there were no errors. To install the software in a directory for which you do have write permissions you would type _____ - ANSWER-sudo make install The _____ command stores the user's input in a variable - ANSWER-read The _____ directory contains configuration files that the system uses when the computer starts - ANSWER-/etc The _____ directory contains executables, which are the programs needed to start the system and perform other essential system tasks - ANSWER-/bin The _____ directory contains the kernel (operating system) images - ANSWER-/boot The _____ directory holds files that are created temporarily, such as files used for printing documents (spool files) - ANSWER-/tmp The _____ directory holds files that change in size, such as files used to record monitoring and administration data, often called log files - ANSWER-/var The _____ is shorthand for the home directory, which typically has the same name as the user's account name - ANSWER-tilde (~) The _____ statement continues to loop and execute commands or statements as long as a given condition or set of conditions are - ANSWER-while The _____ statement simplifies the selection of a match when you have a list of choices
To uncompress the compressed archive "software.tar.gz" you would type _____ - ANSWER-gunzip software.tar.gz To verify that there were no errors when building software from a Makefile, you can use the command _____ - ANSWER-make check UNIX and Linux are _____ systems, which allow one user to execute more than one program at a time - ANSWER-multitasking UNIX/ Linux are _____ systems, which let many people simultaneously access and share the resources of a server computer - ANSWER-peer-to-peer UNIX/ Linux commands are not case sensitive - ANSWER-False UNIX/ Linux systems interpret _____ to mean the parent directory - ANSWER-dot dot (..) UNIX/Linux are _____ systems, which let many people simultaneously access and share the resources of a server computer - ANSWER-multiuser What's the git command that downloads you repository from GitHub to your computer? - ANSWER-git clone What's the opposite of git clone, that instead of downloading you code from GitHub, uploads your changes and code back to GitHub? - ANSWER-git push With no options, _____ displays the current listing of Bash environment and shell script variables - ANSWER-set You can change you password, if necessary by using the _____ command, but you must know your current password to change it. - ANSWER-passwd You can type more than one command on the command line by separating commands with a _____. - ANSWER-semicolon (;) You can use the _____ command to show the system calendar - ANSWER-cal You can use the -a option with the ls command to list _____ files - ANSWER-hidden You use the _____ command to loop through a range of values - ANSWER-for You use the chexec command to indicate that a (shell script) file can be executed - ANSWER-False