Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I complete something in the command line while using Ubuntu and my computer does something of value to me, I enjoy saying thank you, just because it's the polite thing to do. A typical conversation might look something like this:

mtp-sendfile HamishAndyPodcast.mp3 /Music/podcasts
Sending file...
Progress: 17769768 of 17769768 (100%)
New file ID: 76098
sam@sams-laptop:~$ thanks
thanks: command not found

What's the best way to teach my PC a few manners and respond with something like "No problemo".

share|improve this question
up vote 30 down vote accepted

Add this to ~/.bash_aliases or execute it on the commandline:

alias thanks='echo "No problemo dude!"'


user@host:~$ alias thanks='echo "No problemo dude!"'
user@host:~$ thanks
No problemo dude!

You could also stick it in your ~/.bashrc. If you add it to ~/.bash_aliases, make sure your ~/.bashrc has a section like this:

# Alias definitions.
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
share|improve this answer
`\` infront of an alias will ignore the alias. – Rob Mar 30 '12 at 18:02
Can we do the same in windows? – Santosh Kumar Apr 1 '12 at 17:20
alias thanks='fortune zippy'


alias thanks='fortune fortunes'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.