In: Computer Science
1) What is the relationship between gdb, g++, ddd in apt-get install gdb, g++, ddd.
2) What do you mean by | (pipe)?
3) What is GREP?
Pipe | :
1. A pipe is the type of service that is used to transfer the information or share the information between one system program process to the other system program process.
2. It is different from all the other type of interprocess communication.
3. It allows the process to share only in one-way communication by passing the output to the one process to the other process.
4.The information that is passed through the pipe that can be held by the system until unless it can be read by the other receiving process.
5. These pipes are commonly used in the Unix systems.
6.the Pipe is useful for and still using the Linux and Unix type of versions in order to provide more complexing process.
7. It can be represented in the vertical bar (|) in the command line.
8.when we want to use the two-way communication we need to have the two -pipes.
GREP ;
1. The grep is a type of functioning tool that is come from the UNIX for the worldwide in the 1970s.
2. It is used to search the files and folders in between the directories and it also checks the line in order to match the actual line of the present finding regular expression.
3. It is a very useful type of tool that is used to locate the information have been in our local computer especially when we don't know where that file is located.
4. And this command is used for only the file lookup or searching purpose only.
5. For example, if you want to search the one specific file in the respective folder we use this format in order to locate the file.
grep regex *.
6. This would help to search the all text related files in a folder.
GDB :
The GDB is a type of program that is used to run the other programs, and it makes the process to take control of the program and examine the given variables and do the process.
GNU is a type of debugger and that can be also called as the GDB , it is the most popular debugger for the Unix type of system.
GDB allow the user to run the program upto some certain point of time . And it stops and prints out the values of the certain values at the certain point and print out the values of each line .
The GDB is uses a simple command line interface.
G++
1. It is the special type of the Compiler and that is mainly used for the C++ programming languages.
2. It can be run on the diffret diffrent variety of process and g++ contains the seperate program for its execution
3.T his G++ compiler acts as the main compiler in some of the diffrent operating systems suchas the Linux and some of the Unix systems.
4.T his G++ is the free software and this can be accesibleto everyone.
5. This G++ is the most powerful type of compiler and it is providing the many of the possible options for its execution.
6.T he main diffrence for the G++ and the GDB is the file extension for the files.
7.Here the G++ takes the both .c files and .c++ files.