Having an error in my bash shell while trying to create a simple shell script
I wanted to create a simple shell script for the first time but it keeps showing this problem ‘E348: No string under cursor’
Please how can i solve this |
Quote:
Post your script along with useful details and we can try to help. |
|
Quote:
This tells me you have not used vi or vim before. Before you try to enter your script, I recommend you take a beginner's vi tutorial. Maybe try: https://www.openvim.com/ Cheers! Edward |
Before you run "vi" or "vim", run "vimtutor"
And really read and do everything! Vim is a bit archaic but is fast and powerful. It starts in command mode, the i key puts you to insert mode, and the ESC key back to command mode. |
@MadeInGermany - now you are just making me feel old :)
|
Thank y'all so much for the help 🙏🏽 It's great to see a site that really helps people this days
|
Quote:
after quickly scanning the replies to this question, i tried to solve it by ducking it. duckduckgo search for: "E348: No string under cursor " the first link, the same one provided by pan64, shows it was solved on lq eight years ago it seems the lqguru.s and the lqaddicts have gotten tired of informing newbies how to find their answers by asking the right question. if pan64 had included a wag of the finger to the newbie on how to start a new thread with the error code as the subject, then maybe the 8 year old solution would have shown up in the .click here for similar threads. link... so...give the man a fish...with instructions on how to catch his own ...and other newbies reading this thread might learn also so long and thanks for all the fish i go now to read a few of tbone's fine links in his signature line... |
|
All times are GMT -5. The time now is 06:16 AM. |