Question: Vim & Unix/Linux related questions: Vim related Question: 1) In vim, what command can you use to find and replace every instance of the word

Vim & Unix/Linux related questions:

Vim related Question:

1) In vim, what command can you use to find and replace every instance of the word fun with amazing? How would you replace only the first instance of fun with amazing in each line?

Unix/Linux Questions:

2) Suppose you are currently inside a directory and in there you want to make a new directory called fooDir. And inside fooDir, you want another directory called barDir. Using only a single mkdir command, how can you create a directory called fooDir with a directory called barDir inside it?

3) Give an example of how you would use a wildcard character (you can use it with whichever command you want like rm, cat, ls, cp, etc). Describe what happens after you use it.

4) How can you run gvim through the command line to open all Java source code files in the current directory, each file in its own tab?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!