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/alias.sh file to make ls do this by default

alias ls="clear && ls"

Now every time you type ls, the screen will clear first.

Unless clear fails - then ls will not run, and you will wonder why.
Clear will fail if your terminal type is set wrong - not usualy a problem, but it can be with remote logins.


Mikkel
--

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to