Pertanyaan

Option apa yang digunakan command Is agar menampilkan semua file, termasuk hidden file? __ Pilih salah satu: -b -w -a -H -L

Solusi

Terverifikasi Ahli
3.4 (336 Suara)
Aryahi master ยท Tutor selama 5 tahun

Jawaban

-a

Penjelasan

The question pertains to the use of the 'ls' command in Unix-like operating systems. The 'ls' command is used to list directory contents, and it supports various options to alter its default behavior. The question asks which option is used with the 'ls' command to display all files, including hidden files. Hidden files in Unix-like systems are those whose names begin with a dot ('.'). By default, these files are not displayed by the 'ls' command. To include these in the output, a specific option must be used. The options provided are:- -b: This option is used to escape non-graphic characters in the file names.- -w: This option is not a standard option for the 'ls' command.- -a: This option stands for 'all' and is used to show all files, including hidden files.- -H: This option is used to follow symbolic links when processing in recursive mode.- -L: This option is used to follow symbolic links.Among these options, the correct one for displaying all files, including hidden files, is '-a'.