[newbie] How to copy and paste many command at once ?
- From: vd12005@xxxxxxxx
- Date: 27 Sep 2006 13:48:12 -0700
Hello,
i would like to know how am i suppose to finish my command lines to be
able to indent them and copy and paste them from Windows notepad to a
telnet screen ?
for example carriage return seems incorrect, i used to write for
example :
"""
for f in `ls`
do
command 1
command 2
done
"""
but it is odd, work on somes unix, not on others
now i sometimes uses ";" like in "command1 ; command2" and sometimes
uses "&&" like in "command1 && command2" but i do not know what is best
and if there are any differences ?
should i write
"""
for f in `ls` ;
do ;
command 1 ;
command 2 ;
done ;
"""
to be sure it will work on any unix/linux like ?
thanks
.
- Follow-Ups:
- Re: [newbie] How to copy and paste many command at once ?
- From: Chris F.A. Johnson
- Re: [newbie] How to copy and paste many command at once ?
- From: Steven Mocking
- Re: [newbie] How to copy and paste many command at once ?
- Prev by Date: Re: Changing UnixID
- Next by Date: Stored procs from tcl
- Previous by thread: Changing UnixID
- Next by thread: Re: [newbie] How to copy and paste many command at once ?
- Index(es):
Relevant Pages
|