Compacting Commands
3 posts
• Page 1 of 1
Compacting Commands
Does anyone know of a way to force commands to execute on a single line?
Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
Re: Compacting Commands
Have you tried putting either one or two '&' symbols between the commands? I think you need two of them, and just combine all the commands onto one line and it will run each in order. I have had the problem sometimes though where it won't output stuff from successive commands, so if you put a bunch of stuff on one line, you'll only get the output from the first. Haven't used linux/unix in a while though, so that could have been fixed since I've last seen it.
- imnuts
- Posts: 7457
- Joined: Wed Mar 24, 2004 5:19 am
- Location: Boothwyn, Pennsylvania
- Real Name: Mark
Re: Compacting Commands
imnuts wrote:Have you tried putting either one or two '&' symbols between the commands? I think you need two of them, and just combine all the commands onto one line and it will run each in order. I have had the problem sometimes though where it won't output stuff from successive commands, so if you put a bunch of stuff on one line, you'll only get the output from the first. Haven't used linux/unix in a while though, so that could have been fixed since I've last seen it.
Yeah... that is kind of the problem I'm having. The first command has its own prompt and I want the successive commands to execute there.
Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
3 posts
• Page 1 of 1
Return to Other Operating Systems
Who is online
Users browsing this forum: No registered users and 0 guests