teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

おまけ情報

2021/03/21 12:44

投稿

hentaiman
hentaiman

スコア6428

answer CHANGED
@@ -1,1 +1,5 @@
1
- ログインユーザーのホームディレクトリにある`.bashrc`か`.bash_profile`に実行したいコマンド(`python hoge.py`とか)を書く
1
+ ログインユーザーのホームディレクトリにある`.bashrc`か`.bash_profile`に実行したいコマンド(`python hoge.py`とか)を書く
2
+
3
+
4
+ ### 追記
5
+ ユーザーがたくさんいるなら[sshrc](https://nxmnpg.lemoda.net/ja/8/sshd)の方が楽です