Re: [newbie] clear and ls

2004-06-20 Thread Todd Slater
On Sun, Jun 20, 2004 at 06:53:39PM +0300, OOzy wrote: > How can I write two commands at the same time? For example, clear and > ls. I would like to clear the screen before and I do ls? http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=two+commands+one+line+bash http://www.google.com/linux?hl

Re: [newbie] clear and ls

2004-06-20 Thread Stephen Kuhn
On Mon, 2004-06-21 at 01:53, OOzy wrote: > How can I write two commands at the same time? For example, clear and > ls. I would like to clear the screen before and I do ls? Make a script, put it in your ~/bin directory and make it executable: Here's one I use occasionally: #!/bin/sh # cls - clear

Re: [newbie] clear and ls

2004-06-20 Thread Mikkel L. Ellertson
Greg Meyer wrote: On Sunday 20 June 2004 03:16 pm, Hoyt Bailey wrote: On Sunday 20 June 2004 10:53, OOzy wrote: How can I write two commands at the same time? For example, clear and ls. I would like to clear the screen before and I do ls? clear && ls you can add this line to your /etc/profile.d/al

Re: [newbie] clear and ls

2004-06-20 Thread Greg Meyer
On Sunday 20 June 2004 03:16 pm, Hoyt Bailey wrote: > On Sunday 20 June 2004 10:53, OOzy wrote: > > How can I write two commands at the same time? For example, clear and > > ls. I would like to clear the screen before and I do ls? > > clear && ls you can add this line to your /etc/profile.d/alias.

Re: [newbie] clear and ls

2004-06-20 Thread Hoyt Bailey
On Sunday 20 June 2004 10:53, OOzy wrote: > How can I write two commands at the same time? For example, clear and > ls. I would like to clear the screen before and I do ls? > > > clear && ls -- Regards; Hoyt Want to buy your Pack or Services

Re: [newbie] clear and ls

2004-06-20 Thread mike
OOzy wrote: > How can I write two commands at the same time? For example, clear and > ls. I would like to clear the screen before and I do ls? "clear && ls" without quotes. Mike Want to buy your Pack or Services from MandrakeSoft? Go to ht

[newbie] clear and ls

2004-06-20 Thread OOzy
How can I write two commands at the same time? For example, clear and ls. I would like to clear the screen before and I do ls? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.m