LinuxQuestions.org
Visit Jeremy's Blog.
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


Reply
  Search this Thread
Old 10-30-2003, 06:04 PM   #1
xjphil
Member
 
Registered: Aug 2003
Location: Collierville, TN
Distribution: Red Hat 9.0
Posts: 58

Rep: Reputation: 15
basic script question


What is a script?

I need to run a command every time linux starts, to get the graphics to show color, how do I do that? I think I just make a sh file, where do I put that file so it boots automatically?


Also, if my command takes 2 commands, how do I represent the enter key in the script?

thanks,

phil
 
Old 10-30-2003, 06:05 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Need to run it before X starts or in X
per user?

Cheers,
Tink
 
Old 10-30-2003, 06:26 PM   #3
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
huh.... which command should that be? We may help you to get the best solution if we know that.
 
Old 10-31-2003, 02:49 PM   #4
xjphil
Member
 
Registered: Aug 2003
Location: Collierville, TN
Distribution: Red Hat 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
1. apparently after x starts, cuz thats what I end up doing every time.

2. The command is /usr/bin/xbv -NTSC -auto 640 480 12 9, to correct the output of the video card to my hdtv.

3. all users, it boots up in black and white, this command for color.

4. the enter key thing is for this. I want to put an icon on the desktop to run several commands in the terminal. I see the "run in terninal option", but I don't know how to send several commands, so the "enter" key button wouuld be helpful, if thats possible.
Those several commands are, on my laptop, I want to run programs on the desktop, thru ssh, and so the icon would login to the desktop, and run programs.

thanks,

phil
 
Old 11-24-2003, 09:19 AM   #5
xjphil
Member
 
Registered: Aug 2003
Location: Collierville, TN
Distribution: Red Hat 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
BUMP

no help?
 
  


Reply


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
Basic bash script question kevpatts Linux - Newbie 3 10-12-2005 02:02 PM
Basic Shell Script Help Vasquez Linux - Newbie 3 02-28-2005 08:14 PM
Some basic script q's viniosity Programming 11 02-02-2005 06:57 PM
basic script help required jimmorrison Linux - General 5 10-27-2004 12:31 AM
Basic shell script, please help colly Linux - General 4 10-05-2004 12:24 PM


All times are GMT -5. The time now is 06:55 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