Answer the question
In order to leave comments, you need to log in
How to implement text output in Linux console after command?
I'm new to linux and would like to know how to output text or ASCII art when I type some command like:
[email protected]:~# easteregg
Hello world!
Answer the question
In order to leave comments, you need to log in
Fastest:
Method two:
Method three:
# Либо открываете этот файл в редакторе и пишете на любом известном вам яп
echo -e '#!/bin/bash \n echo Hello world' > /usr/local/bin/easteregg
chmod +x /usr/local/bin/easteregg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question