- That command aliases
say -v cello
tocd
, which means nowcd
is a shortcut forsay -v cello
cd
cannot be installed/uninstalled separately, it's part of the shell, not a separate program. Your problem is that you're shadowing the originalcd
with your aliascd
. If you remove that alias (unalias
), it should be back.
Issues with `cd` after `alias` [closed]
Question
I read this command somewhere on Twitter and executed it in my Terminal and it seems it removed the cd
package completely from the OS.
alias cd="say -v cello"
What does this command do? Can you breakup the explanation of this command?
How do I install
cd
back to Ubuntu?
Solution
OTHER TIPS
You can unalias cd to get it working again. Here's the link: http://manpages.ubuntu.com/manpages/natty/man1/unalias.1posix.html
The required command will be: unalias cd
From what I gather, say is a text-to-speech convertor. Check it out here: https://help.ubuntu.com/community/TextToSpeech
1. What does this command do? Can you breakup the explanation of this command?
It creates an alias
, remapping cd
to mean say -v cello
.
A useful example you could use this would be if you always wanted to recursively delete when using rm
:
alias rm="rm -rf"
Or if you always want to say "yes" when using yum
:
alias yum="yum -y"
2. How do I install
cd
back to Ubuntu?
Run this command:
unalias cd