LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-02-2010, 10:36 AM   #1
dilzniksan
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
Script to run at terminal startup?


I have written a script to display a message that I wish to run whenever a terminal session is initialized.

The script is working but I am unclear how to implement it.

Do I need to create a file called 'gnome-terminal.sh' in /etc/profile.d?
 
Old 06-02-2010, 11:55 AM   #2
dilzniksan
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Original Poster
Rep: Reputation: 0
solved

~/.bashrc

thanks guys
 
  


Reply



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
How to turn off services that run at startup? in terminal? linus72 Debian 7 12-30-2009 06:16 PM
How can Fedora run automatically a Terminal command at the startup? cesar7160 Fedora 4 05-19-2009 11:54 AM
Not sure how to run terminal commands at startup mandrakethepenguin Linux - Newbie 4 01-04-2006 08:04 PM
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 09:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:19 AM.

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
Open Source Consulting | Domain Registration