I've done a shell that print on therminal: "Welcome Davide, have a nice day". This script i want that start on boot. I've tryed to put it everywhere but nothing . The folders i put it are: rc6.d and rc0.d. Then i wrote the whole script in rc.local but nothing happen..
相关问题
- How to get the return code of a shell script in lu
- Invoking Mirth Connect CLI with Powershell script
- Emacs shell: save commit message
- “command not found” errors in expect script execut
- Python script using subprocess and xclip hangs if
相关文章
- 使用2台跳板机的情况下如何使用scp传文件
- boot 多数据源 java 程序包不存在
- In IntelliJ IDEA, how can I create a key binding t
- shell中反引号 `` 赋值变量问题
- How get the time in milliseconds in FreeBSD?
- Launch interactive SSH bash session from PHP
- Generate disk usage graphs/charts with CLI only to
- How can I create a small IDLE-like Python Shell in
Probably you want it to run at the time of login. Put it in
.bashrc
If you want to see it before login to tty0-tty6, put the text "Welcome Davide, have a nice day" in
/etc/issue
.[Adition by fedorqui]: If you want it to be displayed on tty0-6 AFTER login, put it in
/etc/motd
. This will not show up when running from ssh.