Article 4TM1D [SOLVED] alias not same as command?

[SOLVED] alias not same as command?

by
lleb
from LinuxQuestions.org on (#4TM1D)
https://www.linuxquestions.org/quest...-a-4175442604/

following these directions i copied my file containing some set alias's i like to run via CLI. restarted my terminal and only one alias is showing, and not displaying the same output as the base command it self.

Code:$ alias
alias d='/bin/ls -laF'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias which='(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
alias xzegrep='xzegrep --color=auto'
alias xzfgrep='xzfgrep --color=auto'
alias xzgrep='xzgrep --color=auto'
alias zegrep='zegrep --color=auto'
alias zfgrep='zfgrep --color=auto'
alias zgrep='zgrep --color=auto'Code:$ cat z_local_aliases.sh
alias d='/bin/ls -laF --color=auto'
alias dird='/bin/ls -laFp --color=auto | grep /'so were is the color?

When i type 'd' I get the long display, but no color output for directories, files, etc...

when I type: ls -laF, i get the color output.

Also dird does not function, i receive the following error:
Code:$ dird
bash: dird: command not found...
Similar command is: 'dir'guidance is required.

Thank you.latest?d=yIl2AUoC8zA latest?i=u0rJ4gfxXfU:ViUM8jpIQME:F7zBnMy latest?i=u0rJ4gfxXfU:ViUM8jpIQME:V_sGLiP latest?d=qj6IDK7rITs latest?i=u0rJ4gfxXfU:ViUM8jpIQME:gIN9vFwu0rJ4gfxXfU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments