[EMAIL PROTECTED] wrote:
>
> > I also TRY to alias ls -la to dir and it IGNORES me. <G>
>
> In BASH, this should work:
> ------------------
> alias dir='ls -al'
> ------------------
Thanks Steven, for all the detail on deleting and transporting files in
Linux. I have archived your suggestions. ;-)
I had found the above suggestion in the RedHat book, and actually Bernie
had also suggested that I do it on the system at Arachne.
I understand that typing it at the commandline is supposed to make the
alias temporary, and putting it in .bashrc will invoke it every time I
logon.
The problem is this: (example test sequence)
I type dir at the commandline and get a oneline display that typically has
/Mail in it.
I type ls -la at the commandline and get a screenful of useful stuff.
I type alias dir="ls -la" at the commandline.
I type dir and get the original oneline display.
I edit .bashrc and put that alias line in it.
I type dir and get the original oneline display. :(
Now, before it is suggested that the particular Linux doesn't support alias,
I have had this problem with several distributions, so it's more likely ME.
<g>
Maybe I have to be in a particular dir ? Maybe I have to be root ?
Or do I have to use -al instead of -la ? How about facing east ?
Most likely it is a problem with recall. I may recall incorrectly
what I thought I did.
Last night, however, something changed with Pygmy07 and the commandline
entry now WORKS. But I can't FIND the .bashrc (for 07) to edit it.
It is easy enough to find in Pygmy06, Dragon76, and the Linux (Unix) on
the server at Arachne. I suppose that all means I am required to CREATE it.
As MP is fond of pointing out, nothing works for me. I think this means
I expect too much of the software design, and try to use the software in a
manner different from the author's expectations. :-\
Sorry about the long OT post.
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
--