Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #71469

Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without

From rbowman <bowman@montana.com>
Newsgroups comp.os.linux.misc
Subject Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without
Date 2025-08-17 07:18 +0000
Message-ID <mgde1gFmi6tU10@mid.individual.net> (permalink)
References (1 earlier) <sm0cy8ygm1d.fsf@lakka.kapsi.fi> <107louk$p5vg$4@dont-email.me> <slrn109vjas.e09o.candycanearter07@candydeb.host.invalid> <mgb2d0FacatU19@mid.individual.net> <BS2oQ.36972$CQJe.21136@fx14.iad>

Show all headers | View raw


On Sat, 16 Aug 2025 17:04:33 GMT, Charlie Gibbs wrote:

> On 2025-08-16, rbowman <bowman@montana.com> wrote:
> 
>> I've used Vim for years, have the Vim book, and know I use about 1% of
>> its capabilities. If I stray from my trails, like trying to show line
>> numbers,
>> I have to look it up. I know I can do a horizontal split but I only do
>> vertical splits so I'd have to look that up too.
> 
> Occasionally I'll find I have enough use for something to take the time
> to learn it.  My most recent one with vim is /\<foo\>, which finds "foo"
> only if it's an entire word (like grep's -w option).

I've used that for a long time. It's an easy one to remember.  <Shift>* on 
a word searches for the word. If you look at the bottom you'll see 
/\<printf\> if that's what the * search was. That only seems to work if 
there is more than one.

                else if (strcmp(el, "ele") == 0) {

If I search on \<ele\> it finds it. Using * says 'search hit BOTTOM, 
continuing at TOP '  In any case it doesn't find last_elevation, ele_text, 
elevation, min_elevation and so forth that /ele does.  

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-08-14 14:50 +0300
  Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-08-14 22:45 +0000
    Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-08-16 00:20 +0000
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-16 02:07 +0000
        Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-08-19 13:40 +0000
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without rbowman <bowman@montana.com> - 2025-08-16 09:47 +0000
        Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-08-16 17:04 +0000
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-17 00:45 +0000
            Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without rbowman <bowman@montana.com> - 2025-08-17 07:20 +0000
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without rbowman <bowman@montana.com> - 2025-08-17 07:18 +0000
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without "Carlos E.R." <robin_listas@es.invalid> - 2025-08-19 12:28 +0200
        Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 00:59 +0000
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without "Carlos E.R." <robin_listas@es.invalid> - 2025-08-20 12:32 +0200
            Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 22:21 +0000
              Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without "Carlos E.R." <robin_listas@es.invalid> - 2025-08-21 02:29 +0200
                Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-21 01:29 +0000
                Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without "Carlos E.R." <robin_listas@es.invalid> - 2025-08-21 12:46 +0200

csiph-web