Question: Hello, I am stuck and really could use some help. Thank you! You have a file called somefile and you just opened it using vi.

Hello, I am stuck and really could use some help. Thank you!

Hello, I am stuck and really could use some help. Thank you!

You have a file called somefile and you just opened it using

You have a file called somefile and you just opened it using vi. After typing G and :1 [enter] where is your cursor sitting (what line #)? This will produce and error in vi Line #1 The last line in file [if there are 100 lines it would be on line #100] Exactly in the middle of the file. Exactly in the center of the first line. You just opened a file in vi and you want to search for a particular string called "printf". What can you type in vi to search for this string? /printf O edit print Odd print ss "print" search/"print

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!