LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-18-2015, 06:30 PM   #1
Selecta
LQ Newbie
 
Registered: Sep 2015
Distribution: Ubuntu 14.04
Posts: 19

Rep: Reputation: Disabled
.bashrc - Run command only if connection is telnet


My .bashrc is set up to run an app on connection. I want that app to run only if the connection is telnet as opposed SSH.

Any thoughts would be most appreciated.

Thank you!
 
Old 09-19-2015, 05:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
You already got a thread going here: https://www.linuxquestions.org/quest...et-4175553843/ ?
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] should ~/.bashrc run in an ssh session? johnsfine Linux - General 4 05-15-2014 11:11 AM
Apache Commons telnet connection with a continuous command clb Programming 2 12-29-2008 02:09 PM
telnet supplying arguments to telnet command nasirdaudahmad Linux - Networking 2 04-22-2007 04:12 AM
.bashrc not run in a chrooted enviroement gigiskhan Linux - Security 6 07-18-2006 10:06 AM
gpm-root can't be run from bashrc? atom Linux - Software 3 08-22-2005 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration