The Computer Oracle

How do I teach my linux command line manners?

-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Darkness Approaches Looping

--

Chapters
00:00 Question
00:38 Accepted answer (Score 30)
01:17 Answer 2 (Score 5)
01:29 Thank you

--

Full question
https://superuser.com/questions/148053/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#ubuntu #commandline #terminal #shell

#avk47



ACCEPTED ANSWER

Score 30


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

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

Eg:

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
fi



ANSWER 2

Score 5


alias thanks='fortune zippy'

or

alias thanks='fortune fortunes'