Answer:
c. sudo grep "charlie" /var/log/vsftpd.log
Explanation:
- sudo is used to access /var/log files since it requires superuser access
- grep command is used to search for a string of characters in a specified file
- "charlie" is the string searched in the log files
- /var/log/ is where the log files are in linux systems
Answer:
D)to show that the situation was tense for everyone
Explanation:
got it right on edge
Answer:
The answer is explained below
Explanation:
They are many features in photoshop that allow for nondestructive editing of images, these are:
- Dialog box: It also for the user to undo an activity to the last change
- Layer: It contain data that can be adjusted to change the appearance of an image.
- Mask: It protect a designated portion from changes you want to make.
- Smart Objects: It allows for the editing of an image without altering or damaging the original image
- Revert: It allows you to go back to the original image as it was when you opened the document.
- Crop: After cropping an image you can choose to hide the cropped part instead of deleting it.
In order to keep the plane travelling at a constant speed, an automatically controlled feedback loop is more reliable.
<u>Explanation:</u>
The main reason behind this is that the plane needs to travel at a constant speed and that would only be maintained by setting constant feedback for the loop.
The feedback being constant will correspond to constant input which will, in turn, correspond to a constant output and hence constant speed.
In the case of using a manually controlled feedback loop, feedback will have to be provided manually at each iteration which is not practically viable as there is a scope for errors.
Answer:
There are two ways to print 1 to 1000
- Using Loops.
- Using Recursion.
Explanation:
Using loops
for(int i=1;i<=1000;i++)
{
cout<<i<<" ";
}
Using recursion
Remember you can implement recursion using a function only.
void print(int n)
{
if(n==0)
return;
print(n-1);
cout<<n<<" "';
}
you should pass 1000 as an argument to the function print.