1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nataly_w [17]
4 years ago
12

What vi command do you use to insert the a file named "file2.txt" to the end of your current file?

Computers and Technology
1 answer:
Free_Kalibri [48]4 years ago
4 0
I'd say the 'cat' command.

With regards to text files, this command which is short for concatenate, has 3 related functions: Combining copies of text files, creating new one and displaying them. It is frequently used in Linux and Apple’s MAC OS and is used to concatenate and display files.



You might be interested in
Write a while loop that prints that number doubled without reaching 100. Follow each number with a space. After the loop, print
elena55 [62]

Answer:

The program to this question as follows:

Program:

#include <iostream> //defining header file

using namespace std;

int main() //defining main method

{

int n; //defining integer variables

cout<<"Enter number: "; //message

cin>>n; //input value by user

while (n< 100) //loop for check condition

{

cout<<n<<" ";//print value

n=n*2; //calculate value

}

return 0;

}

Output:

Enter number: 8

8 16 32 64  

Explanation:

In the above C++ language code, a header file is included, then defining the main method, inside the method an integer variable n is defined, which is used for user input for calculating their double number.  

In the next step, The while loop is declared, and the loop variable n range is defined, that its value is less than 100, inside the loop the variable n is used to calculate, its double number, and print function "cout" to print its value.

4 0
3 years ago
Which of the following demonstrates how digital music are files played? An analog player changes the recording to digital, and s
Arada [10]

Answer:

An analog player changes the recording to digital, and sends the digital signal to a speaker to be played.

Explanation:

An audio signal can be defined as a representation of sound, either as an analog or digital signals.

An analog audio signal refers to a continuous signal that is represented by a changing level of quantity such as voltage with respect to time and sequence of bits such as 16kbps, 32kbps, 64kbps, 96kbps, 128kbps, 196kbps, and 320kbps.

Note: Kbps means kilobits per seconds.

On the other hand, a digital audio signal can be defined as the recording, storage and reproduction of sounds by encoding the audio signals in a digitized format.

An analog player is a type of audio player such as a turntable, which is designed to read informations as a continuous signal.

In order to play a digital audio or music files, an analog player changes the recording to a digital format and sends the digital signal to a speaker to be played.

A speaker can be defined as an electronic output device that is typically used for the conversion of an electromagnetic wave to sound wave.

Basically, this conversion is done through the help of a hardware electronic component known as transducers.

6 0
3 years ago
If you paste a word document text into an excel spreadsheet, the paste optio allow you to keep source formatting or
castortr0y [4]
I think the answer is c
6 0
3 years ago
Which of the following best explains why some people invest their saving in the stock market and others put their saving in bank
Tanya [424]
The answer to this question is B. Some people feel that the stock market is too risky for them.
7 0
4 years ago
Read 2 more answers
6.10.1: Modify a C string parameter. Complete the function to replace any period by an exclamation point. Ex: "Hello. I'm Miley.
Andrej [43]

Answer:

#include <iostream>

#include <cstring>

using namespace std;

void replacePeriod(char* phrase) {

int i = 0;

while(*(phrase + i) != '\0')

{

if(*(phrase + i) == '.')

*(phrase + i) = '!';

i++;

}

}

int main() {

const int STRING_SIZE = 50;

char sentence[STRING_SIZE];

strcpy(sentence, "Hello. I'm Miley. Nice to meet you.");

replacePeriod(sentence);

cout << "Updated sentence: " << endl;

cout << sentence << endl;

return 0;

}

Explanation:

  • Create a function called replacePeriod that takes a pointer of type char as a parameter.
  • Loop through the end of phrase, check if phrase has a period and then replace it with a sign of exclamation.
  • Inside the main function, define the sentence and pass it as an argument to the replacePeriod function.
  • Finally display the updated sentence.
6 0
3 years ago
Other questions:
  • ____ is a generic term for "evil software." threat worm virus malware
    9·1 answer
  • Write a program to read in a two values row and col to initialize a 2D array using those values. Then create a function FindTran
    15·1 answer
  • Byron wants to use Quick Parts to insert reusable content into a company Word document. Where will he access this option? Design
    11·2 answers
  • A computer is presenting a user with a screen requesting payment before the user data is allowed to be accessed by the same user
    10·1 answer
  • Among us Question. Worth 15 Points.<br> Which Vents do the Admin Vents Connect?
    14·2 answers
  • Star and peer-to-peer are types of
    9·2 answers
  • Who requests services and who facilitates services to a client.​
    6·1 answer
  • Explain with examples what is software​
    6·1 answer
  • ________is the most popular public key algorithm available and can be used for digital signatures, key exchange, encryption, and
    10·2 answers
  • hello fellows i need a help.Ineed to know about computer evolutions and computer generations.please hurry.Its my rankover questi
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!