Dcom 142 Final questions & answers rated A+ 2023/2024
Dcom 142 FinalWhich keystrokes invoke the pico or nano search function? - correct answer F6 Ctrl-W Three keystrokes that can initiate a search-and-replace operation in nano are F14, , and . - correct answer Ctrl+ Esc+R For which type of file is nano least likely to be useful for examining or editing? - correct answer A LibreOffice word processing document While in vi's command mode, you can type to undo a change. - correct answer u To save a file and exit the vi text editor in command mode, type - correct answer ZZ If you have never used a text editor before, the nano text editor is usually the best one to learn first. - correct answer True ASCII supports unique characters(not including control characters.) - correct answer 128 GUI text editors for ASCII are superior to text-mode ASCII text editors because the GUI editors support underlining, italics, and multiple fonts. - correct answer False Unicode is useful for encoding most European languages but not not Asian languages. - correct answer False How would you remove two lines of text from a file when using vi? - correct answer In command mode, position the cursor on the first line and type 2dd. What is the name of the software that we downloaded. - correct answer Wingide How would you write a test that says "if /tmp/foo is a directory or USERS is greater than 5"? - correct answer test -d /tmp/foo -o $USERS -gt 5 A conditional that lets you make multiple comparisons with a pattern is called: - correct answer case A file begins with #!/bin/csh. This means: - correct answer Running the script will invoke /bin/csh to interpret the rest of the file Most of nano's commands take the form of: - correct answer Control and another character How would you finish your script with an exit code of 42? - correct answer exit 42 Given the following script that is run through ./ hello goodbye: if [ -f $2 ]; then echo "I am here" fi When will "I am here" be printed? - correct answer If a file called "goodbye" exists in the current directory The number of users logged in is in a variable called USERS. How would you test to see if 5 users are logged in? - correct answer test $USERS -eq 5
Escuela, estudio y materia
- Institución
- Dcom
- Grado
- Dcom
Información del documento
- Subido en
- 10 de noviembre de 2023
- Número de páginas
- 14
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
dcom 142 final
Documento también disponible en un lote