Login script

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: David A. Sinck
日付:  
題目: Login script

\_ SMTP quoth Dominic Busher on 8/9/2001 06:29 as having spake thusly:
\_
\_ I have users who telnet into my Linux server to run
\_ minicom. Once they log in I would like to
\_ automatically change thier directory and bring up
\_ minicom. Thanks.

stuff the following loosely in their .bash... um, whichever bash thing
it is that gets read at the bottom

if [[ has tty ]] # eg: really logging in
print "press ^C now to abort minicom launch"
sleep 6
minicom
fi

YMMV.

David