Files
freeCodeCamp/curriculum/challenges/english/25-front-end-development/quiz-nano/66f1b03b922a53cb231e1c0d.md
T
2024-10-21 09:50:06 +00:00

4.6 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
66f1b03b922a53cb231e1c0d Nano Quiz 8 quiz-nano

--description--

Answer all of the questions below correctly to pass the quiz.

--quizzes--

--quiz--

--question--

--text--

What is nano?

--distractors--

A word processor.


A program that makes text smaller.


A prefix that means small, tiny.

--answer--

Nano is a small, easy-to-use text editor that runs in a terminal.

--question--

--text--

How do you run or start nano from a terminal?

--distractors--

Type run nano, then press the Enter key


Type start nano, then press the Enter key


Type nano.exe, then press the Enter key

--answer--

Type nano, then press the Enter key

--question--

--text--

How do you open a text file using nano?

--distractors--

Type nano.exe [FILE], then press the Enter key


Type emacs [FILE], then press the Enter key


Type vim [FILE], then press the Enter key

--answer--

Type nano [FILE], then press the Enter key

--question--

--text--

What type of files is nano capable of creating and modifying?

--distractors--

PDF files


Word documents


Excel spreadsheets

--answer--

Plain text files

--question--

--text--

With nano already running, what is the command or sequence of keystrokes to save the current file?

--distractors--

Alt + E


Ctrl + T


Ctrl + U

--answer--

Ctrl + S

--question--

--text--

While running nano, how can you find help about using nano?

--distractors--

Type nano -?


Type nano --help


Perform a web search.

--answer--

Press Ctrl + G

--question--

--text--

Where can you find the official documentation for nano?

--distractors--

GNU.org


SuperUser.com


StackOverflow.com

--answer--

https://www.nano-editor.org/dist/latest/nano.html

--question--

--text--

What is/are the keystroke(s) to exit nano?

--distractors--

Press Ctrl + Alt + Del


Type exit


Press Esc

--answer--

Press Ctrl + X

--question--

--text--

What keystrokes allow you to begin a search of the current file?

--distractors--

Press Alt + E


Press Ctrl + U


Press Ctrl + K

--answer--

Press Ctrl + B or Ctrl + F

--question--

--text--

What keystrokes allow you to begin a spell check of the current file?

--distractors--

Press Ctrl + D


Press Ctrl + T Ctrl + O


Press Ctrl + G

--answer--

Press Ctrl + T Ctrl + S

--question--

--text--

How can you comment or uncomment a line of text?

--distractors--

Press Ctrl + U


Press Alt + C


Press Alt + 2

--answer--

Press Alt + 3

--question--

--text--

How can you display/hide line numbers while using nano?

--distractors--

Press Alt + H


Press Ctrl + 1


Press Alt + 3

--answer--

Press Alt + N

--question--

--text--

How do you undo a previous action in nano?

--distractors--

Ctrl + Shift + U


Ctrl + Y


Ctrl + Z

--answer--

Alt + U

--question--

--text--

How do you move the cursor to the beginning of the file in nano?

--distractors--

Ctrl + Y


Ctrl + PgUp


Ctrl + Home

--answer--

Alt + \

--question--

--text--

What is the command to paste a cut line in nano?

--distractors--

Alt + V


Ctrl + Y


Ctrl + V

--answer--

Ctrl + U

--question--

--text--

What is the command to a cut line in nano?

--distractors--

Ctrl + S


Ctrl + R


Ctrl + C

--answer--

Ctrl + K

--question--

--text--

What is the command to go to a specific line number?

--distractors--

Alt + 2


Ctrl + 1


Ctrl + G

--answer--

Alt + G

--question--

--text--

What is the command to justify text in nano?

--distractors--

Ctrl + T


Ctrl + B


Alt + J

--answer--

Ctrl + J

--question--

--text--

What is the command to run a syntax check in nano?

--distractors--

Alt + /


Ctrl + L


Ctrl + T Ctrl + O

--answer--

Ctrl + T Ctrl + Y

--question--

--text--

What is the command to move the cursor to the beginning of a line?

--distractors--

Ctrl + B


Ctrl + E


Alt + A

--answer--

Ctrl + A