lileljusto1669 lileljusto1669
  • 22-08-2019
  • Computers and Technology
contestada

Which one of the following commands will list the contents of a directory, and put those listed contents into a file called "mydir"? 1s -pla > mydir 1s -pla < mydir 1s I mydir ls printf> mydir

Respuesta :

Branta Branta
  • 02-09-2019

Answer:

ls -pla > mydir

Explanation:

ls is the command to list the contents of the directory.

-p option indicate / as the designator for directories

-l  options enables line by line entries for files

-a option lists all files including special files starting with .

> is used for redirecting the output of the ls command to the specified file.

So ls -pla > mydir will run ls command with -pla option and populate the file mydir with the contents of the result.

Answer Link

Otras preguntas

Match each of the following items to its corresponding description. Match the items in the left column to the items in the right column. 1. disciple who brought
who hired Factor?importersfarmersthe banksthe railroads​
If x and ​(13x​+34) are the measures of complementary​ angles, what is the measure of each​ angle?
1. Why is life on Earth not possible without plants? Explain using elements/ CO2 O2 and H2O
What is the value of X in this triangle?
472 students are going on a field trip. 120 students will be returning home and the rest will be spending the night in cabins. a. How many students spending nig
What is 7505 divided by 11?
mZTRI = 3x - 5, mZIRB = x + 27, and mZTRB = 86. Find the mZTRI.
You deposit $18,265 in a bank account. Find the balance of 27 years of the account pays 1.75% annual interesnt compounded quarterly.
PLEASE HELP!!!! What has to be true if you want to solve a quadratic?