Module 19 - Linux 5

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The 'file' command uses the file extension to determine the type of a file.

False It uses the file header, not the file extension.

The grep command needs to be combined with 'cat' to search the contents of a file.

False It's common for people to combine the two, but it is totally unnecessary. Grep can search within files on its own.

The 'strings' command will only ever print valid strings.

False The 'strings' command will interpret everything as a string and print it if the string is longer than a certain number of characters. That doesn't mean it was originally intended to be a string.

If you run 'which' against a command and nothing comes up, it is likely the program is not in your PATH.

True

The 'apropos' command is a tool that searches through manual pages for keywords.

True

The 'nano' text editor shows you the hotkeys that work in the program.

True

To exit 'vim' you must first exit interactive mode.

True

The 'wget' command is used to download files over HTTP/S.

True 'wget' stands for 'web get'.

An 'ELF' file is a type of executable file.

True An 'ELF' file is an executable file on Linux.

The commands :x and :wq do the same thing in 'vim'.

True They both save and exit.

When you start 'vim', before you can type you must first enter interactive mode by pressing...

i


Set pelajaran terkait

Case Study: Streptococcus pneumoniae

View Set

Risks of Focused Strategies, Best-Cost Provider, Strategic Offensives, Defensive Strategies, Vertical Integration, Outsourcing, Strategic Alliances, International Strategies, Business Ethics, Corporate Social Responsibility

View Set

Call of the wild - there is more

View Set

Mendelian Genetics Lab Questions

View Set

Small Business Management Smart Book 4

View Set

Attention Deficit Hyperactivity Disorder (ADHD)

View Set