nnnnnhamilton2446 nnnnnhamilton2446
  • 03-10-2017
  • Computers and Technology
contestada

G implement a program to display a file's contents. it should be similar to the unix cat command when given a single file. name your command show.

Respuesta :

zrh2sfo
zrh2sfo zrh2sfo
  • 04-10-2017
cat file.txt = Read the contents of file.txt and display them on the screen.
cat file1.txt file2.txt = Reads the contents of file1.txt and file2.txt, and displays them in order on the terminal screen.
cat file.txt > newfile.txt = Read the contents of file.txt and write them to newfile.txt, overwriting anything newfile.txt previously contained. If newfile.txt does not exist, it will be created. etc.
Answer Link

Otras preguntas

How did the Declaration of Independence change the nature of the American Revolution?
A number cube is rolled 24 times and lands on 2 four times and on 6 three time. Find the experimental probability of not landing on a 6
What sorts of signals does the brain use to communicate sensations, thoughts and actions?
Which of the following is formed at a collision zone?Continental rift valleyVolcanic island chainMountain rangeDeep-ocean trench
What is a communicable disease ?
when we look at a leaf, we see the colors of light that are reflected off its surface. how does the relatively low flow of oxygen in green light?
How did the Declaration of Independence change the nature of the American Revolution?
State two ways in which a single-celled organism, such as amoeba, and a human body are alike?
Why did president Washington want the United States to remain neutral
How did the depression affect women and children?