Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-21-2010, 03:43 PM   #1
LQ Newbie
Registered: Jun 2006
Location: Hemet, CA
Posts: 16

Rep: Reputation: 0
Can Any One assist me

In making a shell script to run 3 commands to get my tether up without running a bunch of commands?

Here are the commands i have to run in shell

root@Laptop:/home/chris# easytether enumerate
root@Laptop:/home/chris# easytether connect
connection established
run 'sudo dhclient easytether0' to configure the network interface
press Ctrl-C to disconnect
The i have to run:

dhclient easytether0
In a separate window
Old 09-21-2010, 04:23 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If you want to put a job into the background and return the command prompt you can put & at the end of the line
easytether enumerate
easytether connect &
dhclient easytether0
The problem with this is that the "easytether connect" command will exit when you close the terminal window. You could get around that by putting the commands in a bootscript
Old 09-21-2010, 04:35 PM   #3
LQ Newbie
Registered: Jun 2006
Location: Hemet, CA
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks i will try this.


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
DOSBOX Problems. Could someone please assist me? TheUbuntuKnight Linux - Games 1 08-03-2009 07:35 AM
sound very choppy please assist if u can nomb Linux - Software 2 08-18-2006 12:30 AM
Please Assist: BashBurn rvijay Linux - Software 10 02-03-2005 02:58 PM
Graphics problem, please assist. v4d3r Linux - Hardware 0 06-08-2004 01:02 PM
Please assist with Mount Error. rvijay Linux - Newbie 35 10-11-2003 11:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:35 PM.

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