[PLUG] File is there, but not there?

Michael Barnes barnmichael at gmail.com
Tue Jan 28 22:03:07 UTC 2020


On Tue, Jan 28, 2020 at 1:23 PM Johnathan Mantey <manteyjg at gmail.com> wrote:

> We don't know what your 'll' alias does.
> Perhaps you should use a non-alias 'ls' with your switches expressed
> explicitly, and then post the output.
>
> On Tue, Jan 28, 2020 at 12:24 PM Jason Barnett <jason.barnett71 at gmail.com>
> wrote:
>
> > There is an asterisk at the end of the file name. There is no file named
> > "linbpq", but there is a file named "linbpq*".
> > try ./linbpq*
> >
> > If this was not intentional, you can rename it to linbpq with the command
> > "mv linbpq\* linbpq", then your command ./linbpq should work.
> >
> >
>

My bad. I've been using 'll' for many years and thought it was a fairly
standard alias.  Same with the asterisk which designates an executable
file. Perhaps this will clarify the situation:

michael at Desk4:~/ham_stuff/linbpq$ ls -la
total 3384
drwxrwxr-x 3 michael michael    4096 Jan 28 12:07 .
drwxrwxr-x 5 michael michael    4096 Jan 28 11:43 ..
-rw-rw-r-- 1 michael michael     770 Jan 28 12:07 bpq32.cfg
drwxrwxr-x 2 michael michael    4096 Jan 28 11:43 HTML
-rwxrwxr-x 1 michael michael 3438660 Jan 28 05:16 linbpq
-rw-rw-r-- 1 michael michael    4877 Jan 28 11:43 linmail.cfg
michael at Desk4:~/ham_stuff/linbpq$ ./linbpq
-bash: ./linbpq: No such file or directory


BTW, pretty much every .bashrc file I have seen in the last 10+ years
(including Mint, Ubuntu, Raspbian, CentOS, SuSE, and Red Hat) contains
something similar to:

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

As always, YMMV.

Michael



More information about the PLUG mailing list