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 screen and list clear ls -CFaldh | less ...just create a text file, place those commands in there, put it in your /home/mynamegoeshere/bin directory, then do a chmod +x cls - and you're done. stephen kuhn - proprietor ============================== illawarra computer services a kuhn media australia company http://kma.0catch.com mobile: 0410.728.389 ------------------------------------------------------------------ * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents ------------------------------------------------------------------ Certified virus-free since we don't use Microsoft products Not all men who drink are poets. Some of us drink because we aren't poets.
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
